﻿// MT576




using Little.Soldier.SWIFT;
using Little.Soldier.SWIFT.Definition;
using System.Collections.Generic;
using System.ComponentModel;

namespace Little.Soldier.SWIFT.Messages.Category5
{
  public class MT576 : SwiftMessage
  {
    private static SwiftMessageDefinition MessageDefinition;
    private static SwiftTagSequenceDefinition U0002;
    private static SwiftTagDefinition U0003;
    private static SwiftTagSubItemDefinition U0004;
    private static SwiftTagDefinition U0005;
    private static SwiftTagSubItemDefinition U0006;
    private static SwiftTagSubItemDefinition U0007;
    private static SwiftTagDefinition U0008;
    private static SwiftTagSubItemDefinition U000E;
    private static SwiftTagSubItemDefinition U000F;
    private static SwiftTagDefinition U0010;
    private static SwiftTagSubItemDefinition U0011;
    private static SwiftTagSubItemDefinition U0012;
    private static SwiftTagDefinition U0013;
    private static SwiftTagSubItemDefinition U0014;
    private static SwiftTagSubItemDefinition U0015;
    private static SwiftTagSubItemDefinition U0016;
    private static SwiftTagChoiceDefinition U0017;
    private static SwiftTagDefinition U0018;
    private static SwiftTagSubItemDefinition U0019;
    private static SwiftTagSubItemDefinition U001A;
    private static SwiftTagDefinition U001B;
    private static SwiftTagSubItemDefinition U001C;
    private static SwiftTagSubItemDefinition U001D;
    private static SwiftTagSubItemDefinition U001E;
    private static SwiftTagSubItemDefinition U001F;
    private static SwiftTagDefinition U007F;
    private static SwiftTagSubItemDefinition U0080;
    private static SwiftTagSubItemDefinition U0081;
    private static SwiftTagSubItemDefinition U0082;
    private static SwiftTagSubItemDefinition U0083;
    private static SwiftTagSubItemDefinition U0084;
    private static SwiftTagSubItemDefinition U0086;
    private static SwiftTagSubItemDefinition U0087;
    private static SwiftTagSubItemDefinition U0088;
    private static SwiftTagSubItemDefinition U0089;
    private static SwiftTagSequenceDefinition U008A;
    private static SwiftTagDefinition U008B;
    private static SwiftTagSubItemDefinition U008C;
    private static SwiftTagChoiceDefinition U008D;
    private static SwiftTagDefinition U008E;
    private static SwiftTagSubItemDefinition U008F;
    private static SwiftTagSubItemDefinition U0090;
    private static SwiftTagDefinition U0091;
    private static SwiftTagSubItemDefinition U0092;
    private static SwiftTagSubItemDefinition U0093;
    private static SwiftTagSubItemDefinition U0094;
    private static SwiftTagDefinition U0095;
    private static SwiftTagSubItemDefinition U0096;
    private static SwiftTagSubItemDefinition U0097;
    private static SwiftTagDefinition U0098;
    private static SwiftTagSubItemDefinition U0099;
    private static SwiftTagChoiceDefinition U009A;
    private static SwiftTagDefinition U009B;
    private static SwiftTagSubItemDefinition U009C;
    private static SwiftTagSubItemDefinition U009D;
    private static SwiftTagDefinition U009E;
    private static SwiftTagSubItemDefinition U009F;
    private static SwiftTagSubItemDefinition U0001U0002;
    private static SwiftTagSubItemDefinition U0002U0002;
    private static SwiftTagChoiceDefinition U0003U0002;
    private static SwiftTagDefinition U0004U0002;
    private static SwiftTagSubItemDefinition U0005U0002;
    private static SwiftTagSubItemDefinition U0006U0002;
    private static SwiftTagDefinition U0007U0002;
    private static SwiftTagSubItemDefinition U0008U0002;
    private static SwiftTagSubItemDefinition U000EU0002;
    private static SwiftTagSubItemDefinition U000FU0002;
    private static SwiftTagSubItemDefinition U0010U0002;
    private static SwiftTagDefinition U0011U0002;
    private static SwiftTagSubItemDefinition U0012U0002;
    private static SwiftTagSubItemDefinition U0013U0002;
    private static SwiftTagDefinition U0014U0002;
    private static SwiftTagSubItemDefinition U0015U0002;
    private static SwiftTagSequenceDefinition U0016U0002;
    private static SwiftTagDefinition U0017U0002;
    private static SwiftTagSubItemDefinition U0018U0002;
    private static SwiftTagDefinition U0019U0002;
    private static SwiftTagSubItemDefinition U001AU0002;
    private static SwiftTagSubItemDefinition U001BU0002;
    private static SwiftTagSubItemDefinition U001CU0002;
    private static SwiftTagSequenceDefinition U001DU0002;
    private static SwiftTagDefinition U001EU0002;
    private static SwiftTagSubItemDefinition U001FU0002;
    private static SwiftTagDefinition U007FU0002;
    private static SwiftTagSubItemDefinition U0080U0002;
    private static SwiftTagSubItemDefinition U0081U0002;
    private static SwiftTagSubItemDefinition U0082U0002;
    private static SwiftTagSubItemDefinition U0083U0002;
    private static SwiftTagSubItemDefinition U0084U0002;
    private static SwiftTagDefinition U0086U0002;
    private static SwiftTagSubItemDefinition U0087U0002;
    private static SwiftTagSubItemDefinition U0088U0002;
    private static SwiftTagSubItemDefinition U0089U0002;
    private static SwiftTagChoiceDefinition U008AU0002;
    private static SwiftTagDefinition U008BU0002;
    private static SwiftTagSubItemDefinition U008CU0002;
    private static SwiftTagSubItemDefinition U008DU0002;
    private static SwiftTagSubItemDefinition U008EU0002;
    private static SwiftTagDefinition U008FU0002;
    private static SwiftTagSubItemDefinition U0090U0002;
    private static SwiftTagSubItemDefinition U0091U0002;
    private static SwiftTagDefinition U0092U0002;
    private static SwiftTagSubItemDefinition U0093U0002;
    private static SwiftTagSubItemDefinition U0094U0002;
    private static SwiftTagSubItemDefinition U0095U0002;
    private static SwiftTagDefinition U0096U0002;
    private static SwiftTagSubItemDefinition U0097U0002;
    private static SwiftTagSubItemDefinition U0098U0002;
    private static SwiftTagDefinition U0099U0002;
    private static SwiftTagSubItemDefinition U009AU0002;
    private static SwiftTagSubItemDefinition U009BU0002;
    private static SwiftTagDefinition U009CU0002;
    private static SwiftTagSubItemDefinition U009DU0002;
    private static SwiftTagSubItemDefinition U009EU0002;
    private static SwiftTagChoiceDefinition U009FU0002;
    private static SwiftTagDefinition U0001U0003;
    private static SwiftTagSubItemDefinition U0002U0003;
    private static SwiftTagSubItemDefinition U0003U0003;
    private static SwiftTagDefinition U0004U0003;
    private static SwiftTagSubItemDefinition U0005U0003;
    private static SwiftTagSubItemDefinition U0006U0003;
    private static SwiftTagSubItemDefinition U0007U0003;
    private static SwiftTagDefinition U0008U0003;
    private static SwiftTagSubItemDefinition U000EU0003;
    private static SwiftTagSubItemDefinition U000FU0003;
    private static SwiftTagChoiceDefinition U0010U0003;
    private static SwiftTagDefinition U0011U0003;
    private static SwiftTagSubItemDefinition U0012U0003;
    private static SwiftTagSubItemDefinition U0013U0003;
    private static SwiftTagSubItemDefinition U0014U0003;
    private static SwiftTagSubItemDefinition U0015U0003;
    private static SwiftTagDefinition U0016U0003;
    private static SwiftTagSubItemDefinition U0017U0003;
    private static SwiftTagSubItemDefinition U0018U0003;
    private static SwiftTagSubItemDefinition U0019U0003;
    private static SwiftTagSubItemDefinition U001AU0003;
    private static SwiftTagSubItemDefinition U001BU0003;
    private static SwiftTagSubItemDefinition U001CU0003;
    private static SwiftTagDefinition U001DU0003;
    private static SwiftTagSubItemDefinition U001EU0003;
    private static SwiftTagSubItemDefinition U001FU0003;
    private static SwiftTagSubItemDefinition U007FU0003;
    private static SwiftTagSubItemDefinition U0080U0003;
    private static SwiftTagDefinition U0081U0003;
    private static SwiftTagSubItemDefinition U0082U0003;
    private static SwiftTagSubItemDefinition U0083U0003;
    private static SwiftTagDefinition U0084U0003;
    private static SwiftTagSubItemDefinition U0086U0003;
    private static SwiftTagSequenceDefinition U0087U0003;
    private static SwiftTagDefinition U0088U0003;
    private static SwiftTagSubItemDefinition U0089U0003;
    private static SwiftTagChoiceDefinition U008AU0003;
    private static SwiftTagDefinition U008BU0003;
    private static SwiftTagSubItemDefinition U008CU0003;
    private static SwiftTagSubItemDefinition U008DU0003;
    private static SwiftTagDefinition U008EU0003;
    private static SwiftTagSubItemDefinition U008FU0003;
    private static SwiftTagSubItemDefinition U0090U0003;
    private static SwiftTagSubItemDefinition U0091U0003;
    private static SwiftTagSubItemDefinition U0092U0003;
    private static SwiftTagDefinition U0093U0003;
    private static SwiftTagSubItemDefinition U0094U0003;
    private static SwiftTagSubItemDefinition U0095U0003;
    private static SwiftTagSubItemDefinition U0096U0003;
    private static SwiftTagSubItemDefinition U0097U0003;
    private static SwiftTagDefinition U0098U0003;
    private static SwiftTagSubItemDefinition U0099U0003;
    private static SwiftTagSubItemDefinition U009AU0003;
    private static SwiftTagDefinition U009BU0003;
    private static SwiftTagSubItemDefinition U009CU0003;
    private static SwiftTagSubItemDefinition U009DU0003;
    private static SwiftTagSequenceDefinition U009EU0003;
    private static SwiftTagDefinition U009FU0003;
    private static SwiftTagSubItemDefinition U0001U0004;
    private static SwiftTagChoiceDefinition U0002U0004;
    private static SwiftTagDefinition U0003U0004;
    private static SwiftTagSubItemDefinition U0004U0004;
    private static SwiftTagSubItemDefinition U0005U0004;
    private static SwiftTagDefinition U0006U0004;
    private static SwiftTagSubItemDefinition U0007U0004;
    private static SwiftTagSubItemDefinition U0008U0004;
    private static SwiftTagSubItemDefinition U000EU0004;
    private static SwiftTagDefinition U000FU0004;
    private static SwiftTagSubItemDefinition U0010U0004;
    private static SwiftTagSubItemDefinition U0011U0004;
    private static SwiftTagDefinition U0012U0004;
    private static SwiftTagSubItemDefinition U0013U0004;
    private static SwiftTagSequenceDefinition U0014U0004;
    private static SwiftTagDefinition U0015U0004;
    private static SwiftTagSubItemDefinition U0016U0004;
    private static SwiftTagChoiceDefinition U0017U0004;
    private static SwiftTagDefinition U0018U0004;
    private static SwiftTagSubItemDefinition U0019U0004;
    private static SwiftTagSubItemDefinition U001AU0004;
    private static SwiftTagSubItemDefinition U001BU0004;
    private static SwiftTagSubItemDefinition U001CU0004;
    private static SwiftTagDefinition U001DU0004;
    private static SwiftTagSubItemDefinition U001EU0004;
    private static SwiftTagSubItemDefinition U001FU0004;
    private static SwiftTagSubItemDefinition U007FU0004;
    private static SwiftTagSubItemDefinition U0080U0004;
    private static SwiftTagSubItemDefinition U0081U0004;
    private static SwiftTagSubItemDefinition U0082U0004;
    private static SwiftTagDefinition U0083U0004;
    private static SwiftTagSubItemDefinition U0084U0004;
    private static SwiftTagSubItemDefinition U0086U0004;
    private static SwiftTagSubItemDefinition U0087U0004;
    private static SwiftTagDefinition U0088U0004;
    private static SwiftTagSubItemDefinition U0089U0004;
    private static SwiftTagChoiceDefinition U008AU0004;
    private static SwiftTagDefinition U008BU0004;
    private static SwiftTagSubItemDefinition U008CU0004;
    private static SwiftTagSubItemDefinition U008DU0004;
    private static SwiftTagDefinition U008EU0004;
    private static SwiftTagSubItemDefinition U008FU0004;
    private static SwiftTagSubItemDefinition U0090U0004;
    private static SwiftTagSubItemDefinition U0091U0004;
    private static SwiftTagChoiceDefinition U0092U0004;
    private static SwiftTagDefinition U0093U0004;
    private static SwiftTagSubItemDefinition U0094U0004;
    private static SwiftTagSubItemDefinition U0095U0004;
    private static SwiftTagDefinition U0096U0004;
    private static SwiftTagSubItemDefinition U0097U0004;
    private static SwiftTagSubItemDefinition U0098U0004;
    private static SwiftTagSubItemDefinition U0099U0004;
    private static SwiftTagSubItemDefinition U009AU0004;
    private static SwiftTagSequenceDefinition U009BU0004;
    private static SwiftTagDefinition U009CU0004;
    private static SwiftTagSubItemDefinition U009DU0004;
    private static SwiftTagChoiceDefinition U009EU0004;
    private static SwiftTagDefinition U009FU0004;
    private static SwiftTagSubItemDefinition U0001U0005;
    private static SwiftTagSubItemDefinition U0002U0005;
    private static SwiftTagDefinition U0003U0005;
    private static SwiftTagSubItemDefinition U0004U0005;
    private static SwiftTagSubItemDefinition U0005U0005;
    private static SwiftTagSubItemDefinition U0006U0005;
    private static SwiftTagDefinition U0007U0005;
    private static SwiftTagSubItemDefinition U0008U0005;
    private static SwiftTagSubItemDefinition U000EU0005;
    private static SwiftTagDefinition U000FU0005;
    private static SwiftTagSubItemDefinition U0010U0005;
    private static SwiftTagSubItemDefinition U0011U0005;
    private static SwiftTagSubItemDefinition U0012U0005;
    private static SwiftTagSubItemDefinition U0013U0005;
    private static SwiftTagSubItemDefinition U0014U0005;
    private static SwiftTagChoiceDefinition U0015U0005;
    private static SwiftTagDefinition U0016U0005;
    private static SwiftTagSubItemDefinition U0017U0005;
    private static SwiftTagSubItemDefinition U0018U0005;
    private static SwiftTagDefinition U0019U0005;
    private static SwiftTagSubItemDefinition U001AU0005;
    private static SwiftTagSubItemDefinition U001BU0005;
    private static SwiftTagSubItemDefinition U001CU0005;
    private static SwiftTagSubItemDefinition U001DU0005;
    private static SwiftTagChoiceDefinition U001EU0005;
    private static SwiftTagDefinition U001FU0005;
    private static SwiftTagSubItemDefinition U007FU0005;
    private static SwiftTagSubItemDefinition U0080U0005;
    private static SwiftTagDefinition U0081U0005;
    private static SwiftTagSubItemDefinition U0082U0005;
    private static SwiftTagSubItemDefinition U0083U0005;
    private static SwiftTagSubItemDefinition U0084U0005;
    private static SwiftTagSubItemDefinition U0086U0005;
    private static SwiftTagDefinition U0087U0005;
    private static SwiftTagSubItemDefinition U0088U0005;
    private static SwiftTagSubItemDefinition U0089U0005;
    private static SwiftTagChoiceDefinition U008AU0005;
    private static SwiftTagDefinition U008BU0005;
    private static SwiftTagSubItemDefinition U008CU0005;
    private static SwiftTagSubItemDefinition U008DU0005;
    private static SwiftTagDefinition U008EU0005;
    private static SwiftTagSubItemDefinition U008FU0005;
    private static SwiftTagSubItemDefinition U0090U0005;
    private static SwiftTagDefinition U0091U0005;
    private static SwiftTagSubItemDefinition U0092U0005;
    private static SwiftTagSubItemDefinition U0093U0005;
    private static SwiftTagSubItemDefinition U0094U0005;
    private static SwiftTagDefinition U0095U0005;
    private static SwiftTagSubItemDefinition U0096U0005;
    private static SwiftTagDefinition U0097U0005;
    private static SwiftTagSubItemDefinition U0098U0005;
    private static SwiftTagDefinition U0099U0005;
    private static SwiftTagSubItemDefinition U009AU0005;
    private static SwiftTagSequenceDefinition U009BU0005;
    private static SwiftTagDefinition U009CU0005;
    private static SwiftTagSubItemDefinition U009DU0005;
    private static SwiftTagChoiceDefinition U009EU0005;
    private static SwiftTagDefinition U009FU0005;
    private static SwiftTagSubItemDefinition U0001U0006;
    private static SwiftTagSubItemDefinition U0002U0006;
    private static SwiftTagDefinition U0003U0006;
    private static SwiftTagSubItemDefinition U0004U0006;
    private static SwiftTagSubItemDefinition U0005U0006;
    private static SwiftTagSubItemDefinition U0006U0006;
    private static SwiftTagDefinition U0007U0006;
    private static SwiftTagSubItemDefinition U0008U0006;
    private static SwiftTagSubItemDefinition U000EU0006;
    private static SwiftTagDefinition U000FU0006;
    private static SwiftTagSubItemDefinition U0010U0006;

    [Description("General Information")]
    public MT576.SequenceAClass SequenceA
    {
      get
      {
        return new MT576.SequenceAClass((SwiftElement) this, 0, false);
      }
    }

    [Description("Financial Instrument")]
    public MT576.SequenceBClass[] SequenceB
    {
      get
      {
        int index = -1;
        List<MT576.SequenceBClass> list = new List<MT576.SequenceBClass>();
        int count;
        do
        {
          ++index;
          MT576.SequenceBClass sequenceBclass = new MT576.SequenceBClass((SwiftElement) this, index, false);
          count = this.ListTags((SwiftElement) sequenceBclass).Count;
          if (count > 0)
            list.Add(sequenceBclass);
        }
        while (count > 0);
        return list.ToArray();
      }
    }

    [Description("Additional Information")]
    public MT576.SequenceCClass SequenceC
    {
      get
      {
        MT576.SequenceCClass sequenceCclass = new MT576.SequenceCClass((SwiftElement) this, 0, false);
        if (this.ListTags((SwiftElement) sequenceCclass).Count > 0)
          return sequenceCclass;
        else
          return (MT576.SequenceCClass) null;
      }
    }

    public MT576()
      : base(true)
    {
    }

    public MT576(SwiftMessage message)
      : base(message)
    {
    }

    public MT576.SequenceBClass AddSequenceB()
    {
      return new MT576.SequenceBClass((SwiftElement) this, this.SequenceB.Length, true);
    }

    public void RemoveSequenceB(MT576.SequenceBClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    public MT576.SequenceCClass AddSequenceC()
    {
      return this.SequenceC ?? new MT576.SequenceCClass((SwiftElement) this, 0, true);
    }

    public void RemoveSequenceC(MT576.SequenceCClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    internal override SwiftMessageDefinition MsgDefinition()
    {
      return MT576.MessageDefinition;
    }

    protected override void InitSwiftMessageDefinition()
    {
      MT576.MessageDefinition = new SwiftMessageDefinition("MT576", "Statement of Open Orders");
      MT576.U0002 = new SwiftTagSequenceDefinition("SequenceA", "General Information");
      MT576.U0003 = new SwiftTagDefinition("StartOfBlock_A_16R", "Start Of Block");
      MT576.U0003.TagName = ":16R:GENL";
      MT576.U0004 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block");
      MT576.U0004.Mandatory = false;
      MT576.U0003.Elements.Add((SwiftDefinitionElement) MT576.U0004);
      MT576.U0002.Elements.Add((SwiftDefinitionElement) MT576.U0003);
      MT576.U0005 = new SwiftTagDefinition("PageNumberContinuationIndicator_A_28E", "Page Number/Continuation Indicator");
      MT576.U0005.TagName = ":28E:";
      MT576.U0006 = new SwiftTagSubItemDefinition("PageNumber", "Page Number");
      MT576.U0005.Elements.Add((SwiftDefinitionElement) MT576.U0006);
      MT576.U0007 = new SwiftTagSubItemDefinition("ContinuationIndicator", "Continuation Indicator");
      MT576.U0005.Elements.Add((SwiftDefinitionElement) MT576.U0007);
      MT576.U0002.Elements.Add((SwiftDefinitionElement) MT576.U0005);
      MT576.U0008 = new SwiftTagDefinition("NumberIdentification_A_13A", "Statement Number");
      MT576.U0008.TagName = ":13A::";
      MT576.U0008.Mandatory = false;
      MT576.U000E = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0008.Elements.Add((SwiftDefinitionElement) MT576.U000E);
      MT576.U000F = new SwiftTagSubItemDefinition("NumberIdentification", "Number Identification");
      MT576.U0008.Elements.Add((SwiftDefinitionElement) MT576.U000F);
      MT576.U0002.Elements.Add((SwiftDefinitionElement) MT576.U0008);
      MT576.U0010 = new SwiftTagDefinition("Reference_A_20C", "Sender's Reference");
      MT576.U0010.TagName = ":20C::";
      MT576.U0011 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0010.Elements.Add((SwiftDefinitionElement) MT576.U0011);
      MT576.U0012 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT576.U0010.Elements.Add((SwiftDefinitionElement) MT576.U0012);
      MT576.U0002.Elements.Add((SwiftDefinitionElement) MT576.U0010);
      MT576.U0013 = new SwiftTagDefinition("FunctionOfTheMessage_A_23G", "Function of the Message");
      MT576.U0013.TagName = ":23G:";
      MT576.U0014 = new SwiftTagSubItemDefinition("Function", "Function");
      MT576.U0013.Elements.Add((SwiftDefinitionElement) MT576.U0014);
      MT576.U0015 = new SwiftTagSubItemDefinition("SubFunction", "Sub Function");
      MT576.U0015.Mandatory = false;
      MT576.U0016 = new SwiftTagSubItemDefinition("SubFunction_1", "SubFunction");
      MT576.U0015.Elements.Add((SwiftDefinitionElement) MT576.U0016);
      MT576.U0013.Elements.Add((SwiftDefinitionElement) MT576.U0015);
      MT576.U0002.Elements.Add((SwiftDefinitionElement) MT576.U0013);
      MT576.U0017 = new SwiftTagChoiceDefinition("Choice", "");
      MT576.U0017.Multiple = true;
      MT576.U0018 = new SwiftTagDefinition("Date_A_98A", "Date/Time");
      MT576.U0018.TagName = ":98A::";
      MT576.U0018.Multiple = true;
      MT576.U0019 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0018.Elements.Add((SwiftDefinitionElement) MT576.U0019);
      MT576.U001A = new SwiftTagSubItemDefinition("Date", "Date");
      MT576.U0018.Elements.Add((SwiftDefinitionElement) MT576.U001A);
      MT576.U0017.Elements.Add((SwiftDefinitionElement) MT576.U0018);
      MT576.U001B = new SwiftTagDefinition("DateTime_A_98C", "Date/Time");
      MT576.U001B.TagName = ":98C::";
      MT576.U001B.Multiple = true;
      MT576.U001C = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U001B.Elements.Add((SwiftDefinitionElement) MT576.U001C);
      MT576.U001D = new SwiftTagSubItemDefinition("DateTime", "Date and Time");
      MT576.U001E = new SwiftTagSubItemDefinition("Date", "Date");
      MT576.U001D.Elements.Add((SwiftDefinitionElement) MT576.U001E);
      MT576.U001F = new SwiftTagSubItemDefinition("Time", "Time");
      MT576.U001D.Elements.Add((SwiftDefinitionElement) MT576.U001F);
      MT576.U001B.Elements.Add((SwiftDefinitionElement) MT576.U001D);
      MT576.U0017.Elements.Add((SwiftDefinitionElement) MT576.U001B);
      MT576.U007F = new SwiftTagDefinition("DateTime_A_98E", "Trade Date/Time");
      MT576.U007F.TagName = ":98E::";
      MT576.U007F.Multiple = true;
      MT576.U0080 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U007F.Elements.Add((SwiftDefinitionElement) MT576.U0080);
      MT576.U0081 = new SwiftTagSubItemDefinition("DateTimeDecimalsAndUTCIndicator", "Trade Date/Time");
      MT576.U0082 = new SwiftTagSubItemDefinition("DateTimeDecimals", "Trade Date/Time");
      MT576.U0083 = new SwiftTagSubItemDefinition("DateTime", "Date\\Time");
      MT576.U0084 = new SwiftTagSubItemDefinition("Date", "Date");
      MT576.U0083.Elements.Add((SwiftDefinitionElement) MT576.U0084);
      MT576.U0086 = new SwiftTagSubItemDefinition("Time", "Time");
      MT576.U0083.Elements.Add((SwiftDefinitionElement) MT576.U0086);
      MT576.U0082.Elements.Add((SwiftDefinitionElement) MT576.U0083);
      MT576.U0087 = new SwiftTagSubItemDefinition("Decimals", "Time");
      MT576.U0087.Mandatory = false;
      MT576.U0082.Elements.Add((SwiftDefinitionElement) MT576.U0087);
      MT576.U0081.Elements.Add((SwiftDefinitionElement) MT576.U0082);
      MT576.U0088 = new SwiftTagSubItemDefinition("UTCIndicatorRecord", "Date\\Time");
      MT576.U0088.Mandatory = false;
      MT576.U0089 = new SwiftTagSubItemDefinition("UTCIndicator", "Indicator");
      MT576.U0088.Elements.Add((SwiftDefinitionElement) MT576.U0089);
      MT576.U0081.Elements.Add((SwiftDefinitionElement) MT576.U0088);
      MT576.U007F.Elements.Add((SwiftDefinitionElement) MT576.U0081);
      MT576.U0017.Elements.Add((SwiftDefinitionElement) MT576.U007F);
      MT576.U0002.Elements.Add((SwiftDefinitionElement) MT576.U0017);
      MT576.U008A = new SwiftTagSequenceDefinition("SequenceA1", "Linkages");
      MT576.U008A.Mandatory = false;
      MT576.U008A.Multiple = true;
      MT576.U008B = new SwiftTagDefinition("StartOfBlock_A1_16R", "Start Of Block");
      MT576.U008B.TagName = ":16R:LINK";
      MT576.U008C = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block");
      MT576.U008C.Mandatory = false;
      MT576.U008B.Elements.Add((SwiftDefinitionElement) MT576.U008C);
      MT576.U008A.Elements.Add((SwiftDefinitionElement) MT576.U008B);
      MT576.U008D = new SwiftTagChoiceDefinition("Choice", "");
      MT576.U008D.Mandatory = false;
      MT576.U008D.Multiple = true;
      MT576.U008E = new SwiftTagDefinition("NumberIdentification_A1_13A", "Linked Message");
      MT576.U008E.TagName = ":13A::";
      MT576.U008F = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U008E.Elements.Add((SwiftDefinitionElement) MT576.U008F);
      MT576.U0090 = new SwiftTagSubItemDefinition("NumberId", "Number Id");
      MT576.U008E.Elements.Add((SwiftDefinitionElement) MT576.U0090);
      MT576.U008D.Elements.Add((SwiftDefinitionElement) MT576.U008E);
      MT576.U0091 = new SwiftTagDefinition("NumberIdentification_A1_13B", "Linked Message");
      MT576.U0091.TagName = ":13B::";
      MT576.U0092 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0091.Elements.Add((SwiftDefinitionElement) MT576.U0092);
      MT576.U0093 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT576.U0091.Elements.Add((SwiftDefinitionElement) MT576.U0093);
      MT576.U0094 = new SwiftTagSubItemDefinition("Number_13B", "Number");
      MT576.U0091.Elements.Add((SwiftDefinitionElement) MT576.U0094);
      MT576.U008D.Elements.Add((SwiftDefinitionElement) MT576.U0091);
      MT576.U008A.Elements.Add((SwiftDefinitionElement) MT576.U008D);
      MT576.U0095 = new SwiftTagDefinition("Reference_A1_20C", "Reference");
      MT576.U0095.TagName = ":20C::";
      MT576.U0096 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0095.Elements.Add((SwiftDefinitionElement) MT576.U0096);
      MT576.U0097 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT576.U0095.Elements.Add((SwiftDefinitionElement) MT576.U0097);
      MT576.U008A.Elements.Add((SwiftDefinitionElement) MT576.U0095);
      MT576.U0098 = new SwiftTagDefinition("EndOfBlock_A1_16S", "End Of Block");
      MT576.U0098.TagName = ":16S:LINK";
      MT576.U0099 = new SwiftTagSubItemDefinition("EndOfBlock", "Linkages");
      MT576.U0099.Mandatory = false;
      MT576.U0098.Elements.Add((SwiftDefinitionElement) MT576.U0099);
      MT576.U008A.Elements.Add((SwiftDefinitionElement) MT576.U0098);
      MT576.U0002.Elements.Add((SwiftDefinitionElement) MT576.U008A);
      MT576.U009A = new SwiftTagChoiceDefinition("Choice", "");
      MT576.U009A.Mandatory = false;
      MT576.U009A.Multiple = true;
      MT576.U009B = new SwiftTagDefinition("Party_A_95P", "Party");
      MT576.U009B.TagName = ":95P::";
      MT576.U009C = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U009B.Elements.Add((SwiftDefinitionElement) MT576.U009C);
      MT576.U009D = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT576.U009B.Elements.Add((SwiftDefinitionElement) MT576.U009D);
      MT576.U009A.Elements.Add((SwiftDefinitionElement) MT576.U009B);
      MT576.U009E = new SwiftTagDefinition("Party_A_95R", "Party");
      MT576.U009E.TagName = ":95R::";
      MT576.U009F = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U009E.Elements.Add((SwiftDefinitionElement) MT576.U009F);
      MT576.U0001U0002 = new SwiftTagSubItemDefinition("DataSourceScheme", "Data Source Scheme");
      MT576.U009E.Elements.Add((SwiftDefinitionElement) MT576.U0001U0002);
      MT576.U0002U0002 = new SwiftTagSubItemDefinition("ProprietaryCode", "Proprietary Code");
      MT576.U009E.Elements.Add((SwiftDefinitionElement) MT576.U0002U0002);
      MT576.U009A.Elements.Add((SwiftDefinitionElement) MT576.U009E);
      MT576.U0002.Elements.Add((SwiftDefinitionElement) MT576.U009A);
      MT576.U0003U0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT576.U0003U0002.Mandatory = false;
      MT576.U0003U0002.Multiple = true;
      MT576.U0004U0002 = new SwiftTagDefinition("Account_A_97A", "Safekeeping Account");
      MT576.U0004U0002.TagName = ":97A::";
      MT576.U0005U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0004U0002.Elements.Add((SwiftDefinitionElement) MT576.U0005U0002);
      MT576.U0006U0002 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT576.U0004U0002.Elements.Add((SwiftDefinitionElement) MT576.U0006U0002);
      MT576.U0003U0002.Elements.Add((SwiftDefinitionElement) MT576.U0004U0002);
      MT576.U0007U0002 = new SwiftTagDefinition("Account_A_97B", "Safekeeping Account");
      MT576.U0007U0002.TagName = ":97B::";
      MT576.U0008U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0007U0002.Elements.Add((SwiftDefinitionElement) MT576.U0008U0002);
      MT576.U000EU0002 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT576.U0007U0002.Elements.Add((SwiftDefinitionElement) MT576.U000EU0002);
      MT576.U000FU0002 = new SwiftTagSubItemDefinition("AccountTypeCode", "Account Type Code");
      MT576.U0007U0002.Elements.Add((SwiftDefinitionElement) MT576.U000FU0002);
      MT576.U0010U0002 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT576.U0007U0002.Elements.Add((SwiftDefinitionElement) MT576.U0010U0002);
      MT576.U0003U0002.Elements.Add((SwiftDefinitionElement) MT576.U0007U0002);
      MT576.U0002.Elements.Add((SwiftDefinitionElement) MT576.U0003U0002);
      MT576.U0011U0002 = new SwiftTagDefinition("Flag_A_17B", "Activity Flag");
      MT576.U0011U0002.TagName = ":17B::";
      MT576.U0012U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0011U0002.Elements.Add((SwiftDefinitionElement) MT576.U0012U0002);
      MT576.U0013U0002 = new SwiftTagSubItemDefinition("Flag", "Flag");
      MT576.U0011U0002.Elements.Add((SwiftDefinitionElement) MT576.U0013U0002);
      MT576.U0002.Elements.Add((SwiftDefinitionElement) MT576.U0011U0002);
      MT576.U0014U0002 = new SwiftTagDefinition("EndOfBlock_A_16S", "End Of Block");
      MT576.U0014U0002.TagName = ":16S:GENL";
      MT576.U0015U0002 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT576.U0015U0002.Mandatory = false;
      MT576.U0014U0002.Elements.Add((SwiftDefinitionElement) MT576.U0015U0002);
      MT576.U0002.Elements.Add((SwiftDefinitionElement) MT576.U0014U0002);
      MT576.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT576.U0002);
      MT576.U0016U0002 = new SwiftTagSequenceDefinition("SequenceB", "Financial Instrument");
      MT576.U0016U0002.Mandatory = false;
      MT576.U0016U0002.Multiple = true;
      MT576.U0017U0002 = new SwiftTagDefinition("StartOfBlock_B_16R", "Start Of Block");
      MT576.U0017U0002.TagName = ":16R:FIN";
      MT576.U0018U0002 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block");
      MT576.U0018U0002.Mandatory = false;
      MT576.U0017U0002.Elements.Add((SwiftDefinitionElement) MT576.U0018U0002);
      MT576.U0016U0002.Elements.Add((SwiftDefinitionElement) MT576.U0017U0002);
      MT576.U0019U0002 = new SwiftTagDefinition("IdentificationOfFinancialInstrument_B_35B", "Identification of Financial Instrument");
      MT576.U0019U0002.TagName = ":35B:";
      MT576.U001AU0002 = new SwiftTagSubItemDefinition("IdentificationOfSecurity", "Identification of Security");
      MT576.U001AU0002.Mandatory = false;
      MT576.U001BU0002 = new SwiftTagSubItemDefinition("IdentificationOfSecurity_1", "Identification of Security");
      MT576.U001AU0002.Elements.Add((SwiftDefinitionElement) MT576.U001BU0002);
      MT576.U0019U0002.Elements.Add((SwiftDefinitionElement) MT576.U001AU0002);
      MT576.U001CU0002 = new SwiftTagSubItemDefinition("DescriptionOfSecurity", "Description of Security");
      MT576.U001CU0002.Mandatory = false;
      MT576.U0019U0002.Elements.Add((SwiftDefinitionElement) MT576.U001CU0002);
      MT576.U0016U0002.Elements.Add((SwiftDefinitionElement) MT576.U0019U0002);
      MT576.U001DU0002 = new SwiftTagSequenceDefinition("SequenceB1", "Financial Instrument Attributes");
      MT576.U001DU0002.Mandatory = false;
      MT576.U001DU0002.Multiple = true;
      MT576.U001EU0002 = new SwiftTagDefinition("StartOfBlock_B1_16R", "Start Of Block");
      MT576.U001EU0002.TagName = ":16R:FIA";
      MT576.U001FU0002 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block");
      MT576.U001FU0002.Mandatory = false;
      MT576.U001EU0002.Elements.Add((SwiftDefinitionElement) MT576.U001FU0002);
      MT576.U001DU0002.Elements.Add((SwiftDefinitionElement) MT576.U001EU0002);
      MT576.U007FU0002 = new SwiftTagDefinition("Place_B1_94B", "Place of Listing");
      MT576.U007FU0002.TagName = ":94B::";
      MT576.U007FU0002.Mandatory = false;
      MT576.U0080U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U007FU0002.Elements.Add((SwiftDefinitionElement) MT576.U0080U0002);
      MT576.U0081U0002 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT576.U007FU0002.Elements.Add((SwiftDefinitionElement) MT576.U0081U0002);
      MT576.U0082U0002 = new SwiftTagSubItemDefinition("PlaceCode", "Place Code");
      MT576.U007FU0002.Elements.Add((SwiftDefinitionElement) MT576.U0082U0002);
      MT576.U0083U0002 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT576.U0083U0002.Mandatory = false;
      MT576.U0084U0002 = new SwiftTagSubItemDefinition("Narrative_94B", "Narrative");
      MT576.U0084U0002.Mandatory = false;
      MT576.U0083U0002.Elements.Add((SwiftDefinitionElement) MT576.U0084U0002);
      MT576.U007FU0002.Elements.Add((SwiftDefinitionElement) MT576.U0083U0002);
      MT576.U001DU0002.Elements.Add((SwiftDefinitionElement) MT576.U007FU0002);
      MT576.U0086U0002 = new SwiftTagDefinition("Indicator_B1_22F", "Indicator");
      MT576.U0086U0002.TagName = ":22F::";
      MT576.U0086U0002.Mandatory = false;
      MT576.U0086U0002.Multiple = true;
      MT576.U0087U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0086U0002.Elements.Add((SwiftDefinitionElement) MT576.U0087U0002);
      MT576.U0088U0002 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT576.U0086U0002.Elements.Add((SwiftDefinitionElement) MT576.U0088U0002);
      MT576.U0089U0002 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT576.U0086U0002.Elements.Add((SwiftDefinitionElement) MT576.U0089U0002);
      MT576.U001DU0002.Elements.Add((SwiftDefinitionElement) MT576.U0086U0002);
      MT576.U008AU0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT576.U008AU0002.Mandatory = false;
      MT576.U008AU0002.Multiple = true;
      MT576.U008BU0002 = new SwiftTagDefinition("TypeOfFinancialInstrument_B1_12A", "Type of Financial Instrument");
      MT576.U008BU0002.TagName = ":12A::";
      MT576.U008BU0002.Multiple = true;
      MT576.U008CU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U008BU0002.Elements.Add((SwiftDefinitionElement) MT576.U008CU0002);
      MT576.U008DU0002 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT576.U008BU0002.Elements.Add((SwiftDefinitionElement) MT576.U008DU0002);
      MT576.U008EU0002 = new SwiftTagSubItemDefinition("InstrumentCodeOrDescription", "Instrument Code or Description");
      MT576.U008BU0002.Elements.Add((SwiftDefinitionElement) MT576.U008EU0002);
      MT576.U008AU0002.Elements.Add((SwiftDefinitionElement) MT576.U008BU0002);
      MT576.U008FU0002 = new SwiftTagDefinition("TypeOfFinancialInstrument_B1_12C", "Type of Financial Instrument");
      MT576.U008FU0002.TagName = ":12C::";
      MT576.U008FU0002.Multiple = true;
      MT576.U0090U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U008FU0002.Elements.Add((SwiftDefinitionElement) MT576.U0090U0002);
      MT576.U0091U0002 = new SwiftTagSubItemDefinition("CFICode", "CFI Code");
      MT576.U008FU0002.Elements.Add((SwiftDefinitionElement) MT576.U0091U0002);
      MT576.U008AU0002.Elements.Add((SwiftDefinitionElement) MT576.U008FU0002);
      MT576.U0092U0002 = new SwiftTagDefinition("TypeOfFinancialInstrument_B1_12B", "Type of Financial Instrument");
      MT576.U0092U0002.TagName = ":12B::";
      MT576.U0092U0002.Multiple = true;
      MT576.U0093U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0092U0002.Elements.Add((SwiftDefinitionElement) MT576.U0093U0002);
      MT576.U0094U0002 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT576.U0092U0002.Elements.Add((SwiftDefinitionElement) MT576.U0094U0002);
      MT576.U0095U0002 = new SwiftTagSubItemDefinition("InstrumentTypeCode", "Instrument Type Code");
      MT576.U0092U0002.Elements.Add((SwiftDefinitionElement) MT576.U0095U0002);
      MT576.U008AU0002.Elements.Add((SwiftDefinitionElement) MT576.U0092U0002);
      MT576.U001DU0002.Elements.Add((SwiftDefinitionElement) MT576.U008AU0002);
      MT576.U0096U0002 = new SwiftTagDefinition("Currency_B1_11A", "Currency of Denomination");
      MT576.U0096U0002.TagName = ":11A::";
      MT576.U0096U0002.Mandatory = false;
      MT576.U0097U0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0096U0002.Elements.Add((SwiftDefinitionElement) MT576.U0097U0002);
      MT576.U0098U0002 = new SwiftTagSubItemDefinition("CurrencyCode", "Currency Code");
      MT576.U0096U0002.Elements.Add((SwiftDefinitionElement) MT576.U0098U0002);
      MT576.U001DU0002.Elements.Add((SwiftDefinitionElement) MT576.U0096U0002);
      MT576.U0099U0002 = new SwiftTagDefinition("Date_B1_98A", "Date");
      MT576.U0099U0002.TagName = ":98A::";
      MT576.U0099U0002.Mandatory = false;
      MT576.U0099U0002.Multiple = true;
      MT576.U009AU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0099U0002.Elements.Add((SwiftDefinitionElement) MT576.U009AU0002);
      MT576.U009BU0002 = new SwiftTagSubItemDefinition("Date", "Date");
      MT576.U0099U0002.Elements.Add((SwiftDefinitionElement) MT576.U009BU0002);
      MT576.U001DU0002.Elements.Add((SwiftDefinitionElement) MT576.U0099U0002);
      MT576.U009CU0002 = new SwiftTagDefinition("Rate_B1_92A", " Rate");
      MT576.U009CU0002.TagName = ":92A::";
      MT576.U009CU0002.Mandatory = false;
      MT576.U009CU0002.Multiple = true;
      MT576.U009DU0002 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U009CU0002.Elements.Add((SwiftDefinitionElement) MT576.U009DU0002);
      MT576.U009EU0002 = new SwiftTagSubItemDefinition("SignRate", "Sign Rate");
      MT576.U009CU0002.Elements.Add((SwiftDefinitionElement) MT576.U009EU0002);
      MT576.U001DU0002.Elements.Add((SwiftDefinitionElement) MT576.U009CU0002);
      MT576.U009FU0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT576.U009FU0002.Mandatory = false;
      MT576.U009FU0002.Multiple = true;
      MT576.U0001U0003 = new SwiftTagDefinition("NumberIdentification_B1_13A", "Number Identification");
      MT576.U0001U0003.TagName = ":13A::";
      MT576.U0001U0003.Multiple = true;
      MT576.U0002U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0001U0003.Elements.Add((SwiftDefinitionElement) MT576.U0002U0003);
      MT576.U0003U0003 = new SwiftTagSubItemDefinition("NumberId", "Number Id");
      MT576.U0001U0003.Elements.Add((SwiftDefinitionElement) MT576.U0003U0003);
      MT576.U009FU0002.Elements.Add((SwiftDefinitionElement) MT576.U0001U0003);
      MT576.U0004U0003 = new SwiftTagDefinition("NumberIdentification_B1_13B", "Number Identification");
      MT576.U0004U0003.TagName = ":13B::";
      MT576.U0004U0003.Multiple = true;
      MT576.U0005U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0004U0003.Elements.Add((SwiftDefinitionElement) MT576.U0005U0003);
      MT576.U0006U0003 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT576.U0004U0003.Elements.Add((SwiftDefinitionElement) MT576.U0006U0003);
      MT576.U0007U0003 = new SwiftTagSubItemDefinition("Number_13B", "Number");
      MT576.U0004U0003.Elements.Add((SwiftDefinitionElement) MT576.U0007U0003);
      MT576.U009FU0002.Elements.Add((SwiftDefinitionElement) MT576.U0004U0003);
      MT576.U001DU0002.Elements.Add((SwiftDefinitionElement) MT576.U009FU0002);
      MT576.U0008U0003 = new SwiftTagDefinition("Flag_B1_17B", "Flag");
      MT576.U0008U0003.TagName = ":17B::";
      MT576.U0008U0003.Mandatory = false;
      MT576.U0008U0003.Multiple = true;
      MT576.U000EU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0008U0003.Elements.Add((SwiftDefinitionElement) MT576.U000EU0003);
      MT576.U000FU0003 = new SwiftTagSubItemDefinition("Flag", "Flag");
      MT576.U0008U0003.Elements.Add((SwiftDefinitionElement) MT576.U000FU0003);
      MT576.U001DU0002.Elements.Add((SwiftDefinitionElement) MT576.U0008U0003);
      MT576.U0010U0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT576.U0010U0003.Mandatory = false;
      MT576.U0010U0003.Multiple = true;
      MT576.U0011U0003 = new SwiftTagDefinition("Price_B1_90A", "Price");
      MT576.U0011U0003.TagName = ":90A::";
      MT576.U0011U0003.Multiple = true;
      MT576.U0012U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0011U0003.Elements.Add((SwiftDefinitionElement) MT576.U0012U0003);
      MT576.U0013U0003 = new SwiftTagSubItemDefinition("Price", "Price");
      MT576.U0014U0003 = new SwiftTagSubItemDefinition("PercentageTypeCode", "Percentage Type Code");
      MT576.U0013U0003.Elements.Add((SwiftDefinitionElement) MT576.U0014U0003);
      MT576.U0015U0003 = new SwiftTagSubItemDefinition("Price_1", "");
      MT576.U0013U0003.Elements.Add((SwiftDefinitionElement) MT576.U0015U0003);
      MT576.U0011U0003.Elements.Add((SwiftDefinitionElement) MT576.U0013U0003);
      MT576.U0010U0003.Elements.Add((SwiftDefinitionElement) MT576.U0011U0003);
      MT576.U0016U0003 = new SwiftTagDefinition("Price_B1_90B", "Price");
      MT576.U0016U0003.TagName = ":90B::";
      MT576.U0016U0003.Multiple = true;
      MT576.U0017U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0016U0003.Elements.Add((SwiftDefinitionElement) MT576.U0017U0003);
      MT576.U0018U0003 = new SwiftTagSubItemDefinition("Price", "Price");
      MT576.U0019U0003 = new SwiftTagSubItemDefinition("AmountTypeCode", "Amount Type Code");
      MT576.U0018U0003.Elements.Add((SwiftDefinitionElement) MT576.U0019U0003);
      MT576.U001AU0003 = new SwiftTagSubItemDefinition("CurrencyCodeAndPrice", "Currency Code and Price");
      MT576.U001BU0003 = new SwiftTagSubItemDefinition("CurrencyCode", "Currency Code");
      MT576.U001AU0003.Elements.Add((SwiftDefinitionElement) MT576.U001BU0003);
      MT576.U001CU0003 = new SwiftTagSubItemDefinition("Price", "Price");
      MT576.U001AU0003.Elements.Add((SwiftDefinitionElement) MT576.U001CU0003);
      MT576.U0018U0003.Elements.Add((SwiftDefinitionElement) MT576.U001AU0003);
      MT576.U0016U0003.Elements.Add((SwiftDefinitionElement) MT576.U0018U0003);
      MT576.U0010U0003.Elements.Add((SwiftDefinitionElement) MT576.U0016U0003);
      MT576.U001DU0002.Elements.Add((SwiftDefinitionElement) MT576.U0010U0003);
      MT576.U001DU0003 = new SwiftTagDefinition("QuantityOfFinancialInstrument_B1_36B", "Quantity of Financial Instrument");
      MT576.U001DU0003.TagName = ":36B::";
      MT576.U001DU0003.Mandatory = false;
      MT576.U001DU0003.Multiple = true;
      MT576.U001EU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U001DU0003.Elements.Add((SwiftDefinitionElement) MT576.U001EU0003);
      MT576.U001FU0003 = new SwiftTagSubItemDefinition("QuantityOfFinancialInstrument", "QuantityOfFinancialInstrument");
      MT576.U007FU0003 = new SwiftTagSubItemDefinition("QuantityTypeCode", "Quantity Type Code");
      MT576.U001FU0003.Elements.Add((SwiftDefinitionElement) MT576.U007FU0003);
      MT576.U0080U0003 = new SwiftTagSubItemDefinition("Quantity", "Quantity");
      MT576.U001FU0003.Elements.Add((SwiftDefinitionElement) MT576.U0080U0003);
      MT576.U001DU0003.Elements.Add((SwiftDefinitionElement) MT576.U001FU0003);
      MT576.U001DU0002.Elements.Add((SwiftDefinitionElement) MT576.U001DU0003);
      MT576.U0081U0003 = new SwiftTagDefinition("Narrative_B1_70E", "Financial Instrument Attribute Narrative");
      MT576.U0081U0003.TagName = ":70E::";
      MT576.U0081U0003.Mandatory = false;
      MT576.U0082U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0081U0003.Elements.Add((SwiftDefinitionElement) MT576.U0082U0003);
      MT576.U0083U0003 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT576.U0081U0003.Elements.Add((SwiftDefinitionElement) MT576.U0083U0003);
      MT576.U001DU0002.Elements.Add((SwiftDefinitionElement) MT576.U0081U0003);
      MT576.U0084U0003 = new SwiftTagDefinition("EndOfBlock_B1_16S", "End Of Block");
      MT576.U0084U0003.TagName = ":16S:FIA";
      MT576.U0086U0003 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT576.U0086U0003.Mandatory = false;
      MT576.U0084U0003.Elements.Add((SwiftDefinitionElement) MT576.U0086U0003);
      MT576.U001DU0002.Elements.Add((SwiftDefinitionElement) MT576.U0084U0003);
      MT576.U0016U0002.Elements.Add((SwiftDefinitionElement) MT576.U001DU0002);
      MT576.U0087U0003 = new SwiftTagSequenceDefinition("SequenceB2", "Order Details");
      MT576.U0087U0003.Mandatory = false;
      MT576.U0087U0003.Multiple = true;
      MT576.U0088U0003 = new SwiftTagDefinition("StartOfBlock_B2_16R", "Start Of Block");
      MT576.U0088U0003.TagName = ":16R:ORDER";
      MT576.U0089U0003 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block");
      MT576.U0089U0003.Mandatory = false;
      MT576.U0088U0003.Elements.Add((SwiftDefinitionElement) MT576.U0089U0003);
      MT576.U0087U0003.Elements.Add((SwiftDefinitionElement) MT576.U0088U0003);
      MT576.U008AU0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT576.U008AU0003.Mandatory = false;
      MT576.U008AU0003.Multiple = true;
      MT576.U008BU0003 = new SwiftTagDefinition("Date_1_B2_98A", "Date/Time of Order");
      MT576.U008BU0003.TagName = ":98A::";
      MT576.U008CU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U008BU0003.Elements.Add((SwiftDefinitionElement) MT576.U008CU0003);
      MT576.U008DU0003 = new SwiftTagSubItemDefinition("Date", "Date");
      MT576.U008BU0003.Elements.Add((SwiftDefinitionElement) MT576.U008DU0003);
      MT576.U008AU0003.Elements.Add((SwiftDefinitionElement) MT576.U008BU0003);
      MT576.U008EU0003 = new SwiftTagDefinition("DateTime_1_B2_98C", "Date/Time of Order");
      MT576.U008EU0003.TagName = ":98C::";
      MT576.U008FU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U008EU0003.Elements.Add((SwiftDefinitionElement) MT576.U008FU0003);
      MT576.U0090U0003 = new SwiftTagSubItemDefinition("DateTime", "Date and Time");
      MT576.U0091U0003 = new SwiftTagSubItemDefinition("Date", "Date");
      MT576.U0090U0003.Elements.Add((SwiftDefinitionElement) MT576.U0091U0003);
      MT576.U0092U0003 = new SwiftTagSubItemDefinition("Time", "Time");
      MT576.U0090U0003.Elements.Add((SwiftDefinitionElement) MT576.U0092U0003);
      MT576.U008EU0003.Elements.Add((SwiftDefinitionElement) MT576.U0090U0003);
      MT576.U008AU0003.Elements.Add((SwiftDefinitionElement) MT576.U008EU0003);
      MT576.U0087U0003.Elements.Add((SwiftDefinitionElement) MT576.U008AU0003);
      MT576.U0093U0003 = new SwiftTagDefinition("QuantityOfFinancialInstrument_B2_36B", "Quantity of Financial Instrument");
      MT576.U0093U0003.TagName = ":36B::";
      MT576.U0093U0003.Mandatory = false;
      MT576.U0093U0003.Multiple = true;
      MT576.U0094U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0093U0003.Elements.Add((SwiftDefinitionElement) MT576.U0094U0003);
      MT576.U0095U0003 = new SwiftTagSubItemDefinition("QuantityOfFinancialInstrument", "QuantityOfFinancialInstrument");
      MT576.U0096U0003 = new SwiftTagSubItemDefinition("QuantityTypeCode", "Quantity Type Code");
      MT576.U0095U0003.Elements.Add((SwiftDefinitionElement) MT576.U0096U0003);
      MT576.U0097U0003 = new SwiftTagSubItemDefinition("Quantity", "Quantity");
      MT576.U0095U0003.Elements.Add((SwiftDefinitionElement) MT576.U0097U0003);
      MT576.U0093U0003.Elements.Add((SwiftDefinitionElement) MT576.U0095U0003);
      MT576.U0087U0003.Elements.Add((SwiftDefinitionElement) MT576.U0093U0003);
      MT576.U0098U0003 = new SwiftTagDefinition("Amount_B2_19A", "Amount");
      MT576.U0098U0003.TagName = ":19A::";
      MT576.U0098U0003.Mandatory = false;
      MT576.U0098U0003.Multiple = true;
      MT576.U0099U0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0098U0003.Elements.Add((SwiftDefinitionElement) MT576.U0099U0003);
      MT576.U009AU0003 = new SwiftTagSubItemDefinition("SignCodeAmount", "Sign Currency Code Amount");
      MT576.U0098U0003.Elements.Add((SwiftDefinitionElement) MT576.U009AU0003);
      MT576.U0087U0003.Elements.Add((SwiftDefinitionElement) MT576.U0098U0003);
      MT576.U009BU0003 = new SwiftTagDefinition("Currency_B2_11A", "Currency of Denomination");
      MT576.U009BU0003.TagName = ":11A::";
      MT576.U009BU0003.Mandatory = false;
      MT576.U009CU0003 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U009BU0003.Elements.Add((SwiftDefinitionElement) MT576.U009CU0003);
      MT576.U009DU0003 = new SwiftTagSubItemDefinition("CurrencyCode", "Currency Code");
      MT576.U009BU0003.Elements.Add((SwiftDefinitionElement) MT576.U009DU0003);
      MT576.U0087U0003.Elements.Add((SwiftDefinitionElement) MT576.U009BU0003);
      MT576.U009EU0003 = new SwiftTagSequenceDefinition("SequenceB2a", "Linkages");
      MT576.U009EU0003.Mandatory = false;
      MT576.U009EU0003.Multiple = true;
      MT576.U009FU0003 = new SwiftTagDefinition("StartOfBlock_B2a_16R", "Start Of Block");
      MT576.U009FU0003.TagName = ":16R:LINK";
      MT576.U0001U0004 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block");
      MT576.U0001U0004.Mandatory = false;
      MT576.U009FU0003.Elements.Add((SwiftDefinitionElement) MT576.U0001U0004);
      MT576.U009EU0003.Elements.Add((SwiftDefinitionElement) MT576.U009FU0003);
      MT576.U0002U0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT576.U0002U0004.Mandatory = false;
      MT576.U0002U0004.Multiple = true;
      MT576.U0003U0004 = new SwiftTagDefinition("NumberIdentification_B2a_13A", "Linked Message");
      MT576.U0003U0004.TagName = ":13A::";
      MT576.U0004U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0003U0004.Elements.Add((SwiftDefinitionElement) MT576.U0004U0004);
      MT576.U0005U0004 = new SwiftTagSubItemDefinition("NumberId", "Number Id");
      MT576.U0003U0004.Elements.Add((SwiftDefinitionElement) MT576.U0005U0004);
      MT576.U0002U0004.Elements.Add((SwiftDefinitionElement) MT576.U0003U0004);
      MT576.U0006U0004 = new SwiftTagDefinition("NumberIdentification_B2a_13B", "Linked Message");
      MT576.U0006U0004.TagName = ":13B::";
      MT576.U0007U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0006U0004.Elements.Add((SwiftDefinitionElement) MT576.U0007U0004);
      MT576.U0008U0004 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT576.U0006U0004.Elements.Add((SwiftDefinitionElement) MT576.U0008U0004);
      MT576.U000EU0004 = new SwiftTagSubItemDefinition("Number_13B", "Number");
      MT576.U0006U0004.Elements.Add((SwiftDefinitionElement) MT576.U000EU0004);
      MT576.U0002U0004.Elements.Add((SwiftDefinitionElement) MT576.U0006U0004);
      MT576.U009EU0003.Elements.Add((SwiftDefinitionElement) MT576.U0002U0004);
      MT576.U000FU0004 = new SwiftTagDefinition("Reference_B2a_20C", "Reference");
      MT576.U000FU0004.TagName = ":20C::";
      MT576.U0010U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U000FU0004.Elements.Add((SwiftDefinitionElement) MT576.U0010U0004);
      MT576.U0011U0004 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT576.U000FU0004.Elements.Add((SwiftDefinitionElement) MT576.U0011U0004);
      MT576.U009EU0003.Elements.Add((SwiftDefinitionElement) MT576.U000FU0004);
      MT576.U0012U0004 = new SwiftTagDefinition("EndOfBlock_B2a_16S", "End Of Block");
      MT576.U0012U0004.TagName = ":16S:LINK";
      MT576.U0013U0004 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT576.U0013U0004.Mandatory = false;
      MT576.U0012U0004.Elements.Add((SwiftDefinitionElement) MT576.U0013U0004);
      MT576.U009EU0003.Elements.Add((SwiftDefinitionElement) MT576.U0012U0004);
      MT576.U0087U0003.Elements.Add((SwiftDefinitionElement) MT576.U009EU0003);
      MT576.U0014U0004 = new SwiftTagSequenceDefinition("SequenceB2b", "Price");
      MT576.U0014U0004.Mandatory = false;
      MT576.U0014U0004.Multiple = true;
      MT576.U0015U0004 = new SwiftTagDefinition("StartOfBlock_B2b_16R", "Start Of Block");
      MT576.U0015U0004.TagName = ":16R:PRIC";
      MT576.U0016U0004 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block");
      MT576.U0016U0004.Mandatory = false;
      MT576.U0015U0004.Elements.Add((SwiftDefinitionElement) MT576.U0016U0004);
      MT576.U0014U0004.Elements.Add((SwiftDefinitionElement) MT576.U0015U0004);
      MT576.U0017U0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT576.U0017U0004.Multiple = true;
      MT576.U0018U0004 = new SwiftTagDefinition("Price_B2b_90A", "Price");
      MT576.U0018U0004.TagName = ":90A::";
      MT576.U0019U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0018U0004.Elements.Add((SwiftDefinitionElement) MT576.U0019U0004);
      MT576.U001AU0004 = new SwiftTagSubItemDefinition("Price", "Price");
      MT576.U001BU0004 = new SwiftTagSubItemDefinition("PercentageTypeCode", "Percentage Type Code");
      MT576.U001AU0004.Elements.Add((SwiftDefinitionElement) MT576.U001BU0004);
      MT576.U001CU0004 = new SwiftTagSubItemDefinition("Price_1", "Price");
      MT576.U001AU0004.Elements.Add((SwiftDefinitionElement) MT576.U001CU0004);
      MT576.U0018U0004.Elements.Add((SwiftDefinitionElement) MT576.U001AU0004);
      MT576.U0017U0004.Elements.Add((SwiftDefinitionElement) MT576.U0018U0004);
      MT576.U001DU0004 = new SwiftTagDefinition("Price_B2b_90B", "Price");
      MT576.U001DU0004.TagName = ":90B::";
      MT576.U001EU0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U001DU0004.Elements.Add((SwiftDefinitionElement) MT576.U001EU0004);
      MT576.U001FU0004 = new SwiftTagSubItemDefinition("Price", "Price");
      MT576.U007FU0004 = new SwiftTagSubItemDefinition("AmountTypeCode", "Amount Type Code");
      MT576.U001FU0004.Elements.Add((SwiftDefinitionElement) MT576.U007FU0004);
      MT576.U0080U0004 = new SwiftTagSubItemDefinition("CurrencyCodeAndPrice", "Currency Code and Price");
      MT576.U0081U0004 = new SwiftTagSubItemDefinition("CurrencyCode", "Currency Code");
      MT576.U0080U0004.Elements.Add((SwiftDefinitionElement) MT576.U0081U0004);
      MT576.U0082U0004 = new SwiftTagSubItemDefinition("Price", "Price");
      MT576.U0080U0004.Elements.Add((SwiftDefinitionElement) MT576.U0082U0004);
      MT576.U001FU0004.Elements.Add((SwiftDefinitionElement) MT576.U0080U0004);
      MT576.U001DU0004.Elements.Add((SwiftDefinitionElement) MT576.U001FU0004);
      MT576.U0017U0004.Elements.Add((SwiftDefinitionElement) MT576.U001DU0004);
      MT576.U0014U0004.Elements.Add((SwiftDefinitionElement) MT576.U0017U0004);
      MT576.U0083U0004 = new SwiftTagDefinition("Indicator_B2b_22F", "Type of Price");
      MT576.U0083U0004.TagName = ":22F::";
      MT576.U0083U0004.Mandatory = false;
      MT576.U0084U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0083U0004.Elements.Add((SwiftDefinitionElement) MT576.U0084U0004);
      MT576.U0086U0004 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT576.U0083U0004.Elements.Add((SwiftDefinitionElement) MT576.U0086U0004);
      MT576.U0087U0004 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT576.U0083U0004.Elements.Add((SwiftDefinitionElement) MT576.U0087U0004);
      MT576.U0014U0004.Elements.Add((SwiftDefinitionElement) MT576.U0083U0004);
      MT576.U0088U0004 = new SwiftTagDefinition("EndOfBlock_B2b_16S", "End Of Block");
      MT576.U0088U0004.TagName = ":16S:PRIC";
      MT576.U0089U0004 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT576.U0089U0004.Mandatory = false;
      MT576.U0088U0004.Elements.Add((SwiftDefinitionElement) MT576.U0089U0004);
      MT576.U0014U0004.Elements.Add((SwiftDefinitionElement) MT576.U0088U0004);
      MT576.U0087U0003.Elements.Add((SwiftDefinitionElement) MT576.U0014U0004);
      MT576.U008AU0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT576.U008AU0004.Multiple = true;
      MT576.U008BU0004 = new SwiftTagDefinition("Indicator_B2_22H", "Indicator");
      MT576.U008BU0004.TagName = ":22H::";
      MT576.U008BU0004.Multiple = true;
      MT576.U008CU0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U008BU0004.Elements.Add((SwiftDefinitionElement) MT576.U008CU0004);
      MT576.U008DU0004 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT576.U008BU0004.Elements.Add((SwiftDefinitionElement) MT576.U008DU0004);
      MT576.U008AU0004.Elements.Add((SwiftDefinitionElement) MT576.U008BU0004);
      MT576.U008EU0004 = new SwiftTagDefinition("Indicator_B2_22F", "Indicator");
      MT576.U008EU0004.TagName = ":22F::";
      MT576.U008EU0004.Multiple = true;
      MT576.U008FU0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U008EU0004.Elements.Add((SwiftDefinitionElement) MT576.U008FU0004);
      MT576.U0090U0004 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT576.U008EU0004.Elements.Add((SwiftDefinitionElement) MT576.U0090U0004);
      MT576.U0091U0004 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT576.U008EU0004.Elements.Add((SwiftDefinitionElement) MT576.U0091U0004);
      MT576.U008AU0004.Elements.Add((SwiftDefinitionElement) MT576.U008EU0004);
      MT576.U0087U0003.Elements.Add((SwiftDefinitionElement) MT576.U008AU0004);
      MT576.U0092U0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT576.U0092U0004.Mandatory = false;
      MT576.U0092U0004.Multiple = true;
      MT576.U0093U0004 = new SwiftTagDefinition("Date_2_B2_98A", "Date/Time");
      MT576.U0093U0004.TagName = ":98A::";
      MT576.U0093U0004.Multiple = true;
      MT576.U0094U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0093U0004.Elements.Add((SwiftDefinitionElement) MT576.U0094U0004);
      MT576.U0095U0004 = new SwiftTagSubItemDefinition("Date", "Date");
      MT576.U0093U0004.Elements.Add((SwiftDefinitionElement) MT576.U0095U0004);
      MT576.U0092U0004.Elements.Add((SwiftDefinitionElement) MT576.U0093U0004);
      MT576.U0096U0004 = new SwiftTagDefinition("DateTime_2_B2_98C", "Date/Time");
      MT576.U0096U0004.TagName = ":98C::";
      MT576.U0096U0004.Multiple = true;
      MT576.U0097U0004 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0096U0004.Elements.Add((SwiftDefinitionElement) MT576.U0097U0004);
      MT576.U0098U0004 = new SwiftTagSubItemDefinition("DateTime", "Date and Time");
      MT576.U0099U0004 = new SwiftTagSubItemDefinition("Date", "Date");
      MT576.U0098U0004.Elements.Add((SwiftDefinitionElement) MT576.U0099U0004);
      MT576.U009AU0004 = new SwiftTagSubItemDefinition("Time", "Time");
      MT576.U0098U0004.Elements.Add((SwiftDefinitionElement) MT576.U009AU0004);
      MT576.U0096U0004.Elements.Add((SwiftDefinitionElement) MT576.U0098U0004);
      MT576.U0092U0004.Elements.Add((SwiftDefinitionElement) MT576.U0096U0004);
      MT576.U0087U0003.Elements.Add((SwiftDefinitionElement) MT576.U0092U0004);
      MT576.U009BU0004 = new SwiftTagSequenceDefinition("SequenceB2c", "Trading Parties");
      MT576.U009BU0004.Mandatory = false;
      MT576.U009BU0004.Multiple = true;
      MT576.U009CU0004 = new SwiftTagDefinition("StartOfBlock_B2c_16R", "Start Of Block");
      MT576.U009CU0004.TagName = ":16R:TRADPRTY";
      MT576.U009DU0004 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block");
      MT576.U009DU0004.Mandatory = false;
      MT576.U009CU0004.Elements.Add((SwiftDefinitionElement) MT576.U009DU0004);
      MT576.U009BU0004.Elements.Add((SwiftDefinitionElement) MT576.U009CU0004);
      MT576.U009EU0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT576.U009EU0004.Multiple = true;
      MT576.U009FU0004 = new SwiftTagDefinition("Party_B2c_95P", "Party");
      MT576.U009FU0004.TagName = ":95P::";
      MT576.U009FU0004.Multiple = true;
      MT576.U0001U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U009FU0004.Elements.Add((SwiftDefinitionElement) MT576.U0001U0005);
      MT576.U0002U0005 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT576.U009FU0004.Elements.Add((SwiftDefinitionElement) MT576.U0002U0005);
      MT576.U009EU0004.Elements.Add((SwiftDefinitionElement) MT576.U009FU0004);
      MT576.U0003U0005 = new SwiftTagDefinition("Party_B2c_95R", "Party");
      MT576.U0003U0005.TagName = ":95R::";
      MT576.U0003U0005.Multiple = true;
      MT576.U0004U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0003U0005.Elements.Add((SwiftDefinitionElement) MT576.U0004U0005);
      MT576.U0005U0005 = new SwiftTagSubItemDefinition("DataSourceScheme", "Data Source Scheme");
      MT576.U0003U0005.Elements.Add((SwiftDefinitionElement) MT576.U0005U0005);
      MT576.U0006U0005 = new SwiftTagSubItemDefinition("ProprietaryCode", "Proprietary Code");
      MT576.U0003U0005.Elements.Add((SwiftDefinitionElement) MT576.U0006U0005);
      MT576.U009EU0004.Elements.Add((SwiftDefinitionElement) MT576.U0003U0005);
      MT576.U0007U0005 = new SwiftTagDefinition("Party_B2c_95Q", "Party");
      MT576.U0007U0005.TagName = ":95Q::";
      MT576.U0007U0005.Multiple = true;
      MT576.U0008U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0007U0005.Elements.Add((SwiftDefinitionElement) MT576.U0008U0005);
      MT576.U000EU0005 = new SwiftTagSubItemDefinition("NameAndAddress_95Q", "Name and Address");
      MT576.U0007U0005.Elements.Add((SwiftDefinitionElement) MT576.U000EU0005);
      MT576.U009EU0004.Elements.Add((SwiftDefinitionElement) MT576.U0007U0005);
      MT576.U000FU0005 = new SwiftTagDefinition("Party_B2c_95S", "Party");
      MT576.U000FU0005.TagName = ":95S::";
      MT576.U000FU0005.Multiple = true;
      MT576.U0010U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U000FU0005.Elements.Add((SwiftDefinitionElement) MT576.U0010U0005);
      MT576.U0011U0005 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT576.U000FU0005.Elements.Add((SwiftDefinitionElement) MT576.U0011U0005);
      MT576.U0012U0005 = new SwiftTagSubItemDefinition("TypeOfID", "Type of ID");
      MT576.U000FU0005.Elements.Add((SwiftDefinitionElement) MT576.U0012U0005);
      MT576.U0013U0005 = new SwiftTagSubItemDefinition("CountryCode", "Country Code");
      MT576.U000FU0005.Elements.Add((SwiftDefinitionElement) MT576.U0013U0005);
      MT576.U0014U0005 = new SwiftTagSubItemDefinition("AlternateID", "Alternate ID");
      MT576.U000FU0005.Elements.Add((SwiftDefinitionElement) MT576.U0014U0005);
      MT576.U009EU0004.Elements.Add((SwiftDefinitionElement) MT576.U000FU0005);
      MT576.U009BU0004.Elements.Add((SwiftDefinitionElement) MT576.U009EU0004);
      MT576.U0015U0005 = new SwiftTagChoiceDefinition("Choice", "");
      MT576.U0015U0005.Mandatory = false;
      MT576.U0015U0005.Multiple = true;
      MT576.U0016U0005 = new SwiftTagDefinition("Account_B2c_97A", "Safekeeping Account");
      MT576.U0016U0005.TagName = ":97A::";
      MT576.U0017U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0016U0005.Elements.Add((SwiftDefinitionElement) MT576.U0017U0005);
      MT576.U0018U0005 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT576.U0016U0005.Elements.Add((SwiftDefinitionElement) MT576.U0018U0005);
      MT576.U0015U0005.Elements.Add((SwiftDefinitionElement) MT576.U0016U0005);
      MT576.U0019U0005 = new SwiftTagDefinition("Account_B2c_97B", "Safekeeping Account");
      MT576.U0019U0005.TagName = ":97B::";
      MT576.U001AU0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0019U0005.Elements.Add((SwiftDefinitionElement) MT576.U001AU0005);
      MT576.U001BU0005 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT576.U0019U0005.Elements.Add((SwiftDefinitionElement) MT576.U001BU0005);
      MT576.U001CU0005 = new SwiftTagSubItemDefinition("AccountTypeCode", "Account Type Code");
      MT576.U0019U0005.Elements.Add((SwiftDefinitionElement) MT576.U001CU0005);
      MT576.U001DU0005 = new SwiftTagSubItemDefinition("AccountNumber", "Account Number");
      MT576.U0019U0005.Elements.Add((SwiftDefinitionElement) MT576.U001DU0005);
      MT576.U0015U0005.Elements.Add((SwiftDefinitionElement) MT576.U0019U0005);
      MT576.U009BU0004.Elements.Add((SwiftDefinitionElement) MT576.U0015U0005);
      MT576.U001EU0005 = new SwiftTagChoiceDefinition("Choice", "");
      MT576.U001EU0005.Mandatory = false;
      MT576.U001EU0005.Multiple = true;
      MT576.U001FU0005 = new SwiftTagDefinition("Date_B2c_98A", "Processing Date Time");
      MT576.U001FU0005.TagName = ":98A::";
      MT576.U007FU0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U001FU0005.Elements.Add((SwiftDefinitionElement) MT576.U007FU0005);
      MT576.U0080U0005 = new SwiftTagSubItemDefinition("Date", "Date");
      MT576.U001FU0005.Elements.Add((SwiftDefinitionElement) MT576.U0080U0005);
      MT576.U001EU0005.Elements.Add((SwiftDefinitionElement) MT576.U001FU0005);
      MT576.U0081U0005 = new SwiftTagDefinition("DateTime_B2c_98C", "Processing Date Time");
      MT576.U0081U0005.TagName = ":98C::";
      MT576.U0082U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0081U0005.Elements.Add((SwiftDefinitionElement) MT576.U0082U0005);
      MT576.U0083U0005 = new SwiftTagSubItemDefinition("DateTime", "Date/Time");
      MT576.U0083U0005.Mandatory = false;
      MT576.U0084U0005 = new SwiftTagSubItemDefinition("Date", "Date");
      MT576.U0083U0005.Elements.Add((SwiftDefinitionElement) MT576.U0084U0005);
      MT576.U0086U0005 = new SwiftTagSubItemDefinition("Time", "Time");
      MT576.U0083U0005.Elements.Add((SwiftDefinitionElement) MT576.U0086U0005);
      MT576.U0081U0005.Elements.Add((SwiftDefinitionElement) MT576.U0083U0005);
      MT576.U001EU0005.Elements.Add((SwiftDefinitionElement) MT576.U0081U0005);
      MT576.U009BU0004.Elements.Add((SwiftDefinitionElement) MT576.U001EU0005);
      MT576.U0087U0005 = new SwiftTagDefinition("Reference_B2c_20C", "Processing Reference");
      MT576.U0087U0005.TagName = ":20C::";
      MT576.U0087U0005.Mandatory = false;
      MT576.U0088U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0087U0005.Elements.Add((SwiftDefinitionElement) MT576.U0088U0005);
      MT576.U0089U0005 = new SwiftTagSubItemDefinition("Reference", "");
      MT576.U0087U0005.Elements.Add((SwiftDefinitionElement) MT576.U0089U0005);
      MT576.U009BU0004.Elements.Add((SwiftDefinitionElement) MT576.U0087U0005);
      MT576.U008AU0005 = new SwiftTagChoiceDefinition("Choice", "");
      MT576.U008AU0005.Mandatory = false;
      MT576.U008AU0005.Multiple = true;
      MT576.U008BU0005 = new SwiftTagDefinition("Narrative_B2c_70C", "Party Contact Narrative");
      MT576.U008BU0005.TagName = ":70C::";
      MT576.U008BU0005.Multiple = true;
      MT576.U008CU0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U008BU0005.Elements.Add((SwiftDefinitionElement) MT576.U008CU0005);
      MT576.U008DU0005 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT576.U008BU0005.Elements.Add((SwiftDefinitionElement) MT576.U008DU0005);
      MT576.U008AU0005.Elements.Add((SwiftDefinitionElement) MT576.U008BU0005);
      MT576.U008EU0005 = new SwiftTagDefinition("Narrative_B2c_70E", "Declaration Details Narrative");
      MT576.U008EU0005.TagName = ":70E::";
      MT576.U008EU0005.Multiple = true;
      MT576.U008FU0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U008EU0005.Elements.Add((SwiftDefinitionElement) MT576.U008FU0005);
      MT576.U0090U0005 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT576.U008EU0005.Elements.Add((SwiftDefinitionElement) MT576.U0090U0005);
      MT576.U008AU0005.Elements.Add((SwiftDefinitionElement) MT576.U008EU0005);
      MT576.U009BU0004.Elements.Add((SwiftDefinitionElement) MT576.U008AU0005);
      MT576.U0091U0005 = new SwiftTagDefinition("Indicator_B2c_22F", "Party Capacity Indicator");
      MT576.U0091U0005.TagName = ":22F::";
      MT576.U0091U0005.Mandatory = false;
      MT576.U0092U0005 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0091U0005.Elements.Add((SwiftDefinitionElement) MT576.U0092U0005);
      MT576.U0093U0005 = new SwiftTagSubItemDefinition("DataSource", "Data Source Scheme");
      MT576.U0091U0005.Elements.Add((SwiftDefinitionElement) MT576.U0093U0005);
      MT576.U0094U0005 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT576.U0091U0005.Elements.Add((SwiftDefinitionElement) MT576.U0094U0005);
      MT576.U009BU0004.Elements.Add((SwiftDefinitionElement) MT576.U0091U0005);
      MT576.U0095U0005 = new SwiftTagDefinition("EndOfBlock_B2c_16S", "End Of Block");
      MT576.U0095U0005.TagName = ":16S:TRADPRTY";
      MT576.U0096U0005 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT576.U0096U0005.Mandatory = false;
      MT576.U0095U0005.Elements.Add((SwiftDefinitionElement) MT576.U0096U0005);
      MT576.U009BU0004.Elements.Add((SwiftDefinitionElement) MT576.U0095U0005);
      MT576.U0087U0003.Elements.Add((SwiftDefinitionElement) MT576.U009BU0004);
      MT576.U0097U0005 = new SwiftTagDefinition("EndOfBlock_B2_16S", "End Of Block");
      MT576.U0097U0005.TagName = ":16S:ORDER";
      MT576.U0098U0005 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT576.U0098U0005.Mandatory = false;
      MT576.U0097U0005.Elements.Add((SwiftDefinitionElement) MT576.U0098U0005);
      MT576.U0087U0003.Elements.Add((SwiftDefinitionElement) MT576.U0097U0005);
      MT576.U0016U0002.Elements.Add((SwiftDefinitionElement) MT576.U0087U0003);
      MT576.U0099U0005 = new SwiftTagDefinition("EndOfBlock_B_16S", "End Of Block");
      MT576.U0099U0005.TagName = ":16S:FIN";
      MT576.U009AU0005 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT576.U009AU0005.Mandatory = false;
      MT576.U0099U0005.Elements.Add((SwiftDefinitionElement) MT576.U009AU0005);
      MT576.U0016U0002.Elements.Add((SwiftDefinitionElement) MT576.U0099U0005);
      MT576.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT576.U0016U0002);
      MT576.U009BU0005 = new SwiftTagSequenceDefinition("SequenceC", "Additional Information");
      MT576.U009BU0005.Mandatory = false;
      MT576.U009CU0005 = new SwiftTagDefinition("StartOfBlock_C_16R", "Start of Block");
      MT576.U009CU0005.TagName = ":16R:ADDINFO";
      MT576.U009DU0005 = new SwiftTagSubItemDefinition("StartOfBlock", "Start of Block ");
      MT576.U009DU0005.Mandatory = false;
      MT576.U009CU0005.Elements.Add((SwiftDefinitionElement) MT576.U009DU0005);
      MT576.U009BU0005.Elements.Add((SwiftDefinitionElement) MT576.U009CU0005);
      MT576.U009EU0005 = new SwiftTagChoiceDefinition("Choice", "");
      MT576.U009EU0005.Mandatory = false;
      MT576.U009EU0005.Multiple = true;
      MT576.U009FU0005 = new SwiftTagDefinition("Party_C_95P", "Party");
      MT576.U009FU0005.TagName = ":95P::";
      MT576.U009FU0005.Multiple = true;
      MT576.U0001U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U009FU0005.Elements.Add((SwiftDefinitionElement) MT576.U0001U0006);
      MT576.U0002U0006 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT576.U009FU0005.Elements.Add((SwiftDefinitionElement) MT576.U0002U0006);
      MT576.U009EU0005.Elements.Add((SwiftDefinitionElement) MT576.U009FU0005);
      MT576.U0003U0006 = new SwiftTagDefinition("Party_C_95R", "Party");
      MT576.U0003U0006.TagName = ":95R::";
      MT576.U0003U0006.Multiple = true;
      MT576.U0004U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0003U0006.Elements.Add((SwiftDefinitionElement) MT576.U0004U0006);
      MT576.U0005U0006 = new SwiftTagSubItemDefinition("DataSourceScheme", "Data Source Scheme");
      MT576.U0003U0006.Elements.Add((SwiftDefinitionElement) MT576.U0005U0006);
      MT576.U0006U0006 = new SwiftTagSubItemDefinition("ProprietaryCode", "Proprietary Code");
      MT576.U0003U0006.Elements.Add((SwiftDefinitionElement) MT576.U0006U0006);
      MT576.U009EU0005.Elements.Add((SwiftDefinitionElement) MT576.U0003U0006);
      MT576.U0007U0006 = new SwiftTagDefinition("Party_C_95Q", "Party");
      MT576.U0007U0006.TagName = ":95Q::";
      MT576.U0007U0006.Multiple = true;
      MT576.U0008U0006 = new SwiftTagSubItemDefinition("Qualifier", "Qualifier");
      MT576.U0007U0006.Elements.Add((SwiftDefinitionElement) MT576.U0008U0006);
      MT576.U000EU0006 = new SwiftTagSubItemDefinition("NameAndAddress_95Q", "Name And Address");
      MT576.U0007U0006.Elements.Add((SwiftDefinitionElement) MT576.U000EU0006);
      MT576.U009EU0005.Elements.Add((SwiftDefinitionElement) MT576.U0007U0006);
      MT576.U009BU0005.Elements.Add((SwiftDefinitionElement) MT576.U009EU0005);
      MT576.U000FU0006 = new SwiftTagDefinition("EndOfBlock_C_16S", "End of Block");
      MT576.U000FU0006.TagName = ":16S:ADDINFO";
      MT576.U0010U0006 = new SwiftTagSubItemDefinition("EndOfBlock", "End of Block");
      MT576.U0010U0006.Mandatory = false;
      MT576.U000FU0006.Elements.Add((SwiftDefinitionElement) MT576.U0010U0006);
      MT576.U009BU0005.Elements.Add((SwiftDefinitionElement) MT576.U000FU0006);
      MT576.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT576.U009BU0005);
    }

    public class SequenceAClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT576.U0002;
        }
      }

      [Description("Start Of Block")]
      public Tag16R StartOfBlock_A_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0003);
        }
      }

      [Description("Start Of Block")]
      public Tag16R Tag16R_StartOfBlock_A
      {
        get
        {
          return this.StartOfBlock_A_16R;
        }
      }

      [Description("Page Number/Continuation Indicator")]
      public Tag28E PageNumberContinuationIndicator_A_28E
      {
        get
        {
          return new Tag28E((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0005);
        }
      }

      [Description("Page Number/Continuation Indicator")]
      public Tag28E Tag28E_PageNumberContinuationIndicator_A
      {
        get
        {
          return this.PageNumberContinuationIndicator_A_28E;
        }
      }

      [Description("Statement Number")]
      public MT576.SequenceAClass.Tag13A NumberIdentification_A_13A
      {
        get
        {
          return new MT576.SequenceAClass.Tag13A((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0008);
        }
      }

      [Description("Statement Number")]
      public MT576.SequenceAClass.Tag13A Tag13A_NumberIdentification_A
      {
        get
        {
          return this.NumberIdentification_A_13A;
        }
      }

      [Description("Sender's Reference")]
      public Tag20C Reference_A_20C
      {
        get
        {
          return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0010);
        }
      }

      [Description("Sender's Reference")]
      public Tag20C Tag20C_Reference_A
      {
        get
        {
          return this.Reference_A_20C;
        }
      }

      [Description("Function of the Message")]
      public Tag23G FunctionOfTheMessage_A_23G
      {
        get
        {
          return new Tag23G((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0013);
        }
      }

      [Description("Function of the Message")]
      public Tag23G Tag23G_FunctionOfTheMessage_A
      {
        get
        {
          return this.FunctionOfTheMessage_A_23G;
        }
      }

      [Description("Date/Time")]
      public Tag98A[] Date_A_98A
      {
        get
        {
          int index = -1;
          List<Tag98A> list = new List<Tag98A>();
          int count;
          do
          {
            ++index;
            Tag98A tag98A = new Tag98A((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U0018);
            count = this.ListTags((SwiftElement) tag98A).Count;
            if (count > 0)
              list.Add(tag98A);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Date/Time")]
      public Tag98A[] Tag98A_Date_A
      {
        get
        {
          return this.Date_A_98A;
        }
      }

      [Description("Date/Time")]
      public Tag98C[] DateTime_A_98C
      {
        get
        {
          int index = -1;
          List<Tag98C> list = new List<Tag98C>();
          int count;
          do
          {
            ++index;
            Tag98C tag98C = new Tag98C((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U001B);
            count = this.ListTags((SwiftElement) tag98C).Count;
            if (count > 0)
              list.Add(tag98C);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Date/Time")]
      public Tag98C[] Tag98C_DateTime_A
      {
        get
        {
          return this.DateTime_A_98C;
        }
      }

      [Description("Trade Date/Time")]
      public Tag98E[] DateTime_A_98E
      {
        get
        {
          int index = -1;
          List<Tag98E> list = new List<Tag98E>();
          int count;
          do
          {
            ++index;
            Tag98E tag98E = new Tag98E((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U007F);
            count = this.ListTags((SwiftElement) tag98E).Count;
            if (count > 0)
              list.Add(tag98E);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Trade Date/Time")]
      public Tag98E[] Tag98E_DateTime_A
      {
        get
        {
          return this.DateTime_A_98E;
        }
      }

      [Description("Linkages")]
      public MT576.SequenceAClass.SequenceA1Class[] SequenceA1
      {
        get
        {
          int index = -1;
          List<MT576.SequenceAClass.SequenceA1Class> list = new List<MT576.SequenceAClass.SequenceA1Class>();
          int count;
          do
          {
            ++index;
            MT576.SequenceAClass.SequenceA1Class sequenceA1Class = new MT576.SequenceAClass.SequenceA1Class((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceA1Class).Count;
            if (count > 0)
              list.Add(sequenceA1Class);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95P Party_A_95P
      {
        get
        {
          return new Tag95P((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U009B);
        }
      }

      [Description("Party")]
      public Tag95P Tag95P_Party_A
      {
        get
        {
          return this.Party_A_95P;
        }
      }

      [Description("Party")]
      public Tag95R Party_A_95R
      {
        get
        {
          return new Tag95R((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U009E);
        }
      }

      [Description("Party")]
      public Tag95R Tag95R_Party_A
      {
        get
        {
          return this.Party_A_95R;
        }
      }

      [Description("Safekeeping Account")]
      public Tag97A Account_A_97A
      {
        get
        {
          return new Tag97A((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0004U0002);
        }
      }

      [Description("Safekeeping Account")]
      public Tag97A Tag97A_Account_A
      {
        get
        {
          return this.Account_A_97A;
        }
      }

      [Description("Safekeeping Account")]
      public Tag97B Account_A_97B
      {
        get
        {
          return new Tag97B((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0007U0002);
        }
      }

      [Description("Safekeeping Account")]
      public Tag97B Tag97B_Account_A
      {
        get
        {
          return this.Account_A_97B;
        }
      }

      [Description("Activity Flag")]
      public Tag17B Flag_A_17B
      {
        get
        {
          return new Tag17B((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0011U0002);
        }
      }

      [Description("Activity Flag")]
      public Tag17B Tag17B_Flag_A
      {
        get
        {
          return this.Flag_A_17B;
        }
      }

      [Description("End Of Block")]
      public Tag16S EndOfBlock_A_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0014U0002);
        }
      }

      [Description("End Of Block")]
      public Tag16S Tag16S_EndOfBlock_A
      {
        get
        {
          return this.EndOfBlock_A_16S;
        }
      }

      internal SequenceAClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public Tag98A AddDate_A_98A()
      {
        return new Tag98A((SwiftElement) this, this.Date_A_98A.Length, (SwiftDefinitionElement) MT576.U0018)
        {
          Value = string.Empty
        };
      }

      public void RemoveDate_A_98A(Tag98A tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag98C AddDateTime_A_98C()
      {
        return new Tag98C((SwiftElement) this, this.DateTime_A_98C.Length, (SwiftDefinitionElement) MT576.U001B)
        {
          Value = string.Empty
        };
      }

      public void RemoveDateTime_A_98C(Tag98C tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag98E AddDateTime_A_98E()
      {
        return new Tag98E((SwiftElement) this, this.DateTime_A_98E.Length, (SwiftDefinitionElement) MT576.U007F)
        {
          Value = string.Empty
        };
      }

      public void RemoveDateTime_A_98E(Tag98E tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public MT576.SequenceAClass.SequenceA1Class AddSequenceA1()
      {
        return new MT576.SequenceAClass.SequenceA1Class((SwiftElement) this, this.SequenceA1.Length, true);
      }

      public void RemoveSequenceA1(MT576.SequenceAClass.SequenceA1Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public class Tag13A : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("13A", value);
          }
        }

        internal Tag13A(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }

      public class SequenceA1Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT576.U008A;
          }
        }

        [Description("Start Of Block")]
        public Tag16R StartOfBlock_A1_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U008B);
          }
        }

        [Description("Start Of Block")]
        public Tag16R Tag16R_StartOfBlock_A1
        {
          get
          {
            return this.StartOfBlock_A1_16R;
          }
        }

        [Description("Linked Message")]
        public MT576.SequenceAClass.Tag13A NumberIdentification_A1_13A
        {
          get
          {
            return new MT576.SequenceAClass.Tag13A((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U008E);
          }
        }

        [Description("Linked Message")]
        public MT576.SequenceAClass.Tag13A Tag13A_NumberIdentification_A1
        {
          get
          {
            return this.NumberIdentification_A1_13A;
          }
        }

        [Description("Linked Message")]
        public Tag13B NumberIdentification_A1_13B
        {
          get
          {
            return new Tag13B((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0091);
          }
        }

        [Description("Linked Message")]
        public Tag13B Tag13B_NumberIdentification_A1
        {
          get
          {
            return this.NumberIdentification_A1_13B;
          }
        }

        [Description("Reference")]
        public Tag20C Reference_A1_20C
        {
          get
          {
            return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0095);
          }
        }

        [Description("Reference")]
        public Tag20C Tag20C_Reference_A1
        {
          get
          {
            return this.Reference_A1_20C;
          }
        }

        [Description("End Of Block")]
        public Tag16S EndOfBlock_A1_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0098);
          }
        }

        [Description("End Of Block")]
        public Tag16S Tag16S_EndOfBlock_A1
        {
          get
          {
            return this.EndOfBlock_A1_16S;
          }
        }

        internal SequenceA1Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }
      }
    }

    public class SequenceBClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT576.U0016U0002;
        }
      }

      [Description("Start Of Block")]
      public Tag16R StartOfBlock_B_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0017U0002);
        }
      }

      [Description("Start Of Block")]
      public Tag16R Tag16R_StartOfBlock_B
      {
        get
        {
          return this.StartOfBlock_B_16R;
        }
      }

      [Description("Identification of Financial Instrument")]
      public Tag35B IdentificationOfFinancialInstrument_B_35B
      {
        get
        {
          return new Tag35B((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0019U0002);
        }
      }

      [Description("Identification of Financial Instrument")]
      public Tag35B Tag35B_IdentificationOfFinancialInstrument_B
      {
        get
        {
          return this.IdentificationOfFinancialInstrument_B_35B;
        }
      }

      [Description("Financial Instrument Attributes")]
      public MT576.SequenceBClass.SequenceB1Class[] SequenceB1
      {
        get
        {
          int index = -1;
          List<MT576.SequenceBClass.SequenceB1Class> list = new List<MT576.SequenceBClass.SequenceB1Class>();
          int count;
          do
          {
            ++index;
            MT576.SequenceBClass.SequenceB1Class sequenceB1Class = new MT576.SequenceBClass.SequenceB1Class((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceB1Class).Count;
            if (count > 0)
              list.Add(sequenceB1Class);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Order Details")]
      public MT576.SequenceBClass.SequenceB2Class[] SequenceB2
      {
        get
        {
          int index = -1;
          List<MT576.SequenceBClass.SequenceB2Class> list = new List<MT576.SequenceBClass.SequenceB2Class>();
          int count;
          do
          {
            ++index;
            MT576.SequenceBClass.SequenceB2Class sequenceB2Class = new MT576.SequenceBClass.SequenceB2Class((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceB2Class).Count;
            if (count > 0)
              list.Add(sequenceB2Class);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("End Of Block")]
      public Tag16S EndOfBlock_B_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0099U0005);
        }
      }

      [Description("End Of Block")]
      public Tag16S Tag16S_EndOfBlock_B
      {
        get
        {
          return this.EndOfBlock_B_16S;
        }
      }

      internal SequenceBClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public MT576.SequenceBClass.SequenceB1Class AddSequenceB1()
      {
        return new MT576.SequenceBClass.SequenceB1Class((SwiftElement) this, this.SequenceB1.Length, true);
      }

      public void RemoveSequenceB1(MT576.SequenceBClass.SequenceB1Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public MT576.SequenceBClass.SequenceB2Class AddSequenceB2()
      {
        return new MT576.SequenceBClass.SequenceB2Class((SwiftElement) this, this.SequenceB2.Length, true);
      }

      public void RemoveSequenceB2(MT576.SequenceBClass.SequenceB2Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public class SequenceB1Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT576.U001DU0002;
          }
        }

        [Description("Start Of Block")]
        public Tag16R StartOfBlock_B1_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U001EU0002);
          }
        }

        [Description("Start Of Block")]
        public Tag16R Tag16R_StartOfBlock_B1
        {
          get
          {
            return this.StartOfBlock_B1_16R;
          }
        }

        [Description("Place of Listing")]
        public MT576.SequenceBClass.SequenceB1Class.Tag94B Place_B1_94B
        {
          get
          {
            return new MT576.SequenceBClass.SequenceB1Class.Tag94B((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U007FU0002);
          }
        }

        [Description("Place of Listing")]
        public MT576.SequenceBClass.SequenceB1Class.Tag94B Tag94B_Place_B1
        {
          get
          {
            return this.Place_B1_94B;
          }
        }

        [Description("Indicator")]
        public Tag22F[] Indicator_B1_22F
        {
          get
          {
            int index = -1;
            List<Tag22F> list = new List<Tag22F>();
            int count;
            do
            {
              ++index;
              Tag22F tag22F = new Tag22F((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U0086U0002);
              count = this.ListTags((SwiftElement) tag22F).Count;
              if (count > 0)
                list.Add(tag22F);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Indicator")]
        public Tag22F[] Tag22F_Indicator_B1
        {
          get
          {
            return this.Indicator_B1_22F;
          }
        }

        [Description("Type of Financial Instrument")]
        public MT576.SequenceBClass.SequenceB1Class.Tag12A[] TypeOfFinancialInstrument_B1_12A
        {
          get
          {
            int index = -1;
            List<MT576.SequenceBClass.SequenceB1Class.Tag12A> list = new List<MT576.SequenceBClass.SequenceB1Class.Tag12A>();
            int count;
            do
            {
              ++index;
              MT576.SequenceBClass.SequenceB1Class.Tag12A tag12A = new MT576.SequenceBClass.SequenceB1Class.Tag12A((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U008BU0002);
              count = this.ListTags((SwiftElement) tag12A).Count;
              if (count > 0)
                list.Add(tag12A);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Type of Financial Instrument")]
        public MT576.SequenceBClass.SequenceB1Class.Tag12A[] Tag12A_TypeOfFinancialInstrument_B1
        {
          get
          {
            return this.TypeOfFinancialInstrument_B1_12A;
          }
        }

        [Description("Type of Financial Instrument")]
        public Tag12C[] TypeOfFinancialInstrument_B1_12C
        {
          get
          {
            int index = -1;
            List<Tag12C> list = new List<Tag12C>();
            int count;
            do
            {
              ++index;
              Tag12C tag12C = new Tag12C((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U008FU0002);
              count = this.ListTags((SwiftElement) tag12C).Count;
              if (count > 0)
                list.Add(tag12C);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Type of Financial Instrument")]
        public Tag12C[] Tag12C_TypeOfFinancialInstrument_B1
        {
          get
          {
            return this.TypeOfFinancialInstrument_B1_12C;
          }
        }

        [Description("Type of Financial Instrument")]
        public Tag12B[] TypeOfFinancialInstrument_B1_12B
        {
          get
          {
            int index = -1;
            List<Tag12B> list = new List<Tag12B>();
            int count;
            do
            {
              ++index;
              Tag12B tag12B = new Tag12B((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U0092U0002);
              count = this.ListTags((SwiftElement) tag12B).Count;
              if (count > 0)
                list.Add(tag12B);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Type of Financial Instrument")]
        public Tag12B[] Tag12B_TypeOfFinancialInstrument_B1
        {
          get
          {
            return this.TypeOfFinancialInstrument_B1_12B;
          }
        }

        [Description("Currency of Denomination")]
        public Tag11A Currency_B1_11A
        {
          get
          {
            return new Tag11A((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0096U0002);
          }
        }

        [Description("Currency of Denomination")]
        public Tag11A Tag11A_Currency_B1
        {
          get
          {
            return this.Currency_B1_11A;
          }
        }

        [Description("Date")]
        public Tag98A[] Date_B1_98A
        {
          get
          {
            int index = -1;
            List<Tag98A> list = new List<Tag98A>();
            int count;
            do
            {
              ++index;
              Tag98A tag98A = new Tag98A((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U0099U0002);
              count = this.ListTags((SwiftElement) tag98A).Count;
              if (count > 0)
                list.Add(tag98A);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Date")]
        public Tag98A[] Tag98A_Date_B1
        {
          get
          {
            return this.Date_B1_98A;
          }
        }

        [Description(" Rate")]
        public Tag92A[] Rate_B1_92A
        {
          get
          {
            int index = -1;
            List<Tag92A> list = new List<Tag92A>();
            int count;
            do
            {
              ++index;
              Tag92A tag92A = new Tag92A((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U009CU0002);
              count = this.ListTags((SwiftElement) tag92A).Count;
              if (count > 0)
                list.Add(tag92A);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description(" Rate")]
        public Tag92A[] Tag92A_Rate_B1
        {
          get
          {
            return this.Rate_B1_92A;
          }
        }

        [Description("Number Identification")]
        public Tag13A[] NumberIdentification_B1_13A
        {
          get
          {
            int index = -1;
            List<Tag13A> list = new List<Tag13A>();
            int count;
            do
            {
              ++index;
              Tag13A tag13A = new Tag13A((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U0001U0003);
              count = this.ListTags((SwiftElement) tag13A).Count;
              if (count > 0)
                list.Add(tag13A);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Number Identification")]
        public Tag13A[] Tag13A_NumberIdentification_B1
        {
          get
          {
            return this.NumberIdentification_B1_13A;
          }
        }

        [Description("Number Identification")]
        public Tag13B[] NumberIdentification_B1_13B
        {
          get
          {
            int index = -1;
            List<Tag13B> list = new List<Tag13B>();
            int count;
            do
            {
              ++index;
              Tag13B tag13B = new Tag13B((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U0004U0003);
              count = this.ListTags((SwiftElement) tag13B).Count;
              if (count > 0)
                list.Add(tag13B);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Number Identification")]
        public Tag13B[] Tag13B_NumberIdentification_B1
        {
          get
          {
            return this.NumberIdentification_B1_13B;
          }
        }

        [Description("Flag")]
        public Tag17B[] Flag_B1_17B
        {
          get
          {
            int index = -1;
            List<Tag17B> list = new List<Tag17B>();
            int count;
            do
            {
              ++index;
              Tag17B tag17B = new Tag17B((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U0008U0003);
              count = this.ListTags((SwiftElement) tag17B).Count;
              if (count > 0)
                list.Add(tag17B);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Flag")]
        public Tag17B[] Tag17B_Flag_B1
        {
          get
          {
            return this.Flag_B1_17B;
          }
        }

        [Description("Price")]
        public Tag90A[] Price_B1_90A
        {
          get
          {
            int index = -1;
            List<Tag90A> list = new List<Tag90A>();
            int count;
            do
            {
              ++index;
              Tag90A tag90A = new Tag90A((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U0011U0003);
              count = this.ListTags((SwiftElement) tag90A).Count;
              if (count > 0)
                list.Add(tag90A);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Price")]
        public Tag90A[] Tag90A_Price_B1
        {
          get
          {
            return this.Price_B1_90A;
          }
        }

        [Description("Price")]
        public Tag90B[] Price_B1_90B
        {
          get
          {
            int index = -1;
            List<Tag90B> list = new List<Tag90B>();
            int count;
            do
            {
              ++index;
              Tag90B tag90B = new Tag90B((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U0016U0003);
              count = this.ListTags((SwiftElement) tag90B).Count;
              if (count > 0)
                list.Add(tag90B);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Price")]
        public Tag90B[] Tag90B_Price_B1
        {
          get
          {
            return this.Price_B1_90B;
          }
        }

        [Description("Quantity of Financial Instrument")]
        public Tag36B[] QuantityOfFinancialInstrument_B1_36B
        {
          get
          {
            int index = -1;
            List<Tag36B> list = new List<Tag36B>();
            int count;
            do
            {
              ++index;
              Tag36B tag36B = new Tag36B((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U001DU0003);
              count = this.ListTags((SwiftElement) tag36B).Count;
              if (count > 0)
                list.Add(tag36B);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Quantity of Financial Instrument")]
        public Tag36B[] Tag36B_QuantityOfFinancialInstrument_B1
        {
          get
          {
            return this.QuantityOfFinancialInstrument_B1_36B;
          }
        }

        [Description("Financial Instrument Attribute Narrative")]
        public Tag70E Narrative_B1_70E
        {
          get
          {
            return new Tag70E((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0081U0003);
          }
        }

        [Description("Financial Instrument Attribute Narrative")]
        public Tag70E Tag70E_Narrative_B1
        {
          get
          {
            return this.Narrative_B1_70E;
          }
        }

        [Description("End Of Block")]
        public Tag16S EndOfBlock_B1_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0084U0003);
          }
        }

        [Description("End Of Block")]
        public Tag16S Tag16S_EndOfBlock_B1
        {
          get
          {
            return this.EndOfBlock_B1_16S;
          }
        }

        internal SequenceB1Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }

        public Tag22F AddIndicator_B1_22F()
        {
          return new Tag22F((SwiftElement) this, this.Indicator_B1_22F.Length, (SwiftDefinitionElement) MT576.U0086U0002)
          {
            Value = string.Empty
          };
        }

        public void RemoveIndicator_B1_22F(Tag22F tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public MT576.SequenceBClass.SequenceB1Class.Tag12A AddTypeOfFinancialInstrument_B1_12A()
        {
          return new MT576.SequenceBClass.SequenceB1Class.Tag12A((SwiftElement) this, this.TypeOfFinancialInstrument_B1_12A.Length, (SwiftDefinitionElement) MT576.U008BU0002)
          {
            Value = string.Empty
          };
        }

        public void RemoveTypeOfFinancialInstrument_B1_12A(MT576.SequenceBClass.SequenceB1Class.Tag12A tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag12C AddTypeOfFinancialInstrument_B1_12C()
        {
          return new Tag12C((SwiftElement) this, this.TypeOfFinancialInstrument_B1_12C.Length, (SwiftDefinitionElement) MT576.U008FU0002)
          {
            Value = string.Empty
          };
        }

        public void RemoveTypeOfFinancialInstrument_B1_12C(Tag12C tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag12B AddTypeOfFinancialInstrument_B1_12B()
        {
          return new Tag12B((SwiftElement) this, this.TypeOfFinancialInstrument_B1_12B.Length, (SwiftDefinitionElement) MT576.U0092U0002)
          {
            Value = string.Empty
          };
        }

        public void RemoveTypeOfFinancialInstrument_B1_12B(Tag12B tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag98A AddDate_B1_98A()
        {
          return new Tag98A((SwiftElement) this, this.Date_B1_98A.Length, (SwiftDefinitionElement) MT576.U0099U0002)
          {
            Value = string.Empty
          };
        }

        public void RemoveDate_B1_98A(Tag98A tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag92A AddRate_B1_92A()
        {
          return new Tag92A((SwiftElement) this, this.Rate_B1_92A.Length, (SwiftDefinitionElement) MT576.U009CU0002)
          {
            Value = string.Empty
          };
        }

        public void RemoveRate_B1_92A(Tag92A tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag13A AddNumberIdentification_B1_13A()
        {
          return new Tag13A((SwiftElement) this, this.NumberIdentification_B1_13A.Length, (SwiftDefinitionElement) MT576.U0001U0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveNumberIdentification_B1_13A(Tag13A tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag13B AddNumberIdentification_B1_13B()
        {
          return new Tag13B((SwiftElement) this, this.NumberIdentification_B1_13B.Length, (SwiftDefinitionElement) MT576.U0004U0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveNumberIdentification_B1_13B(Tag13B tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag17B AddFlag_B1_17B()
        {
          return new Tag17B((SwiftElement) this, this.Flag_B1_17B.Length, (SwiftDefinitionElement) MT576.U0008U0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveFlag_B1_17B(Tag17B tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag90A AddPrice_B1_90A()
        {
          return new Tag90A((SwiftElement) this, this.Price_B1_90A.Length, (SwiftDefinitionElement) MT576.U0011U0003)
          {
            Value = string.Empty
          };
        }

        public void RemovePrice_B1_90A(Tag90A tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag90B AddPrice_B1_90B()
        {
          return new Tag90B((SwiftElement) this, this.Price_B1_90B.Length, (SwiftDefinitionElement) MT576.U0016U0003)
          {
            Value = string.Empty
          };
        }

        public void RemovePrice_B1_90B(Tag90B tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag36B AddQuantityOfFinancialInstrument_B1_36B()
        {
          return new Tag36B((SwiftElement) this, this.QuantityOfFinancialInstrument_B1_36B.Length, (SwiftDefinitionElement) MT576.U001DU0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveQuantityOfFinancialInstrument_B1_36B(Tag36B tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public class Tag94B : SwiftTagWrapper
        {
          public string Value
          {
            get
            {
              return this.GetValue();
            }
            set
            {
              this.SetValue("94B", value);
            }
          }

          internal Tag94B(SwiftElement parent, int index, SwiftDefinitionElement definition)
            : base(parent, index, definition)
          {
          }
        }

        public class Tag12A : SwiftTagWrapper
        {
          public string Value
          {
            get
            {
              return this.GetValue();
            }
            set
            {
              this.SetValue("12A", value);
            }
          }

          internal Tag12A(SwiftElement parent, int index, SwiftDefinitionElement definition)
            : base(parent, index, definition)
          {
          }
        }
      }

      public class SequenceB2Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT576.U0087U0003;
          }
        }

        [Description("Start Of Block")]
        public Tag16R StartOfBlock_B2_16R
        {
          get
          {
            return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0088U0003);
          }
        }

        [Description("Start Of Block")]
        public Tag16R Tag16R_StartOfBlock_B2
        {
          get
          {
            return this.StartOfBlock_B2_16R;
          }
        }

        [Description("Date/Time of Order")]
        public Tag98A Date_1_B2_98A
        {
          get
          {
            return new Tag98A((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U008BU0003);
          }
        }

        [Description("Date/Time of Order")]
        public Tag98A Tag98A_Date_1_B2
        {
          get
          {
            return this.Date_1_B2_98A;
          }
        }

        [Description("Date/Time of Order")]
        public Tag98C DateTime_1_B2_98C
        {
          get
          {
            return new Tag98C((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U008EU0003);
          }
        }

        [Description("Date/Time of Order")]
        public Tag98C Tag98C_DateTime_1_B2
        {
          get
          {
            return this.DateTime_1_B2_98C;
          }
        }

        [Description("Quantity of Financial Instrument")]
        public Tag36B[] QuantityOfFinancialInstrument_B2_36B
        {
          get
          {
            int index = -1;
            List<Tag36B> list = new List<Tag36B>();
            int count;
            do
            {
              ++index;
              Tag36B tag36B = new Tag36B((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U0093U0003);
              count = this.ListTags((SwiftElement) tag36B).Count;
              if (count > 0)
                list.Add(tag36B);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Quantity of Financial Instrument")]
        public Tag36B[] Tag36B_QuantityOfFinancialInstrument_B2
        {
          get
          {
            return this.QuantityOfFinancialInstrument_B2_36B;
          }
        }

        [Description("Amount")]
        public Tag19A[] Amount_B2_19A
        {
          get
          {
            int index = -1;
            List<Tag19A> list = new List<Tag19A>();
            int count;
            do
            {
              ++index;
              Tag19A tag19A = new Tag19A((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U0098U0003);
              count = this.ListTags((SwiftElement) tag19A).Count;
              if (count > 0)
                list.Add(tag19A);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Amount")]
        public Tag19A[] Tag19A_Amount_B2
        {
          get
          {
            return this.Amount_B2_19A;
          }
        }

        [Description("Currency of Denomination")]
        public Tag11A Currency_B2_11A
        {
          get
          {
            return new Tag11A((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U009BU0003);
          }
        }

        [Description("Currency of Denomination")]
        public Tag11A Tag11A_Currency_B2
        {
          get
          {
            return this.Currency_B2_11A;
          }
        }

        [Description("Linkages")]
        public MT576.SequenceBClass.SequenceB2Class.SequenceB2aClass[] SequenceB2a
        {
          get
          {
            int index = -1;
            List<MT576.SequenceBClass.SequenceB2Class.SequenceB2aClass> list = new List<MT576.SequenceBClass.SequenceB2Class.SequenceB2aClass>();
            int count;
            do
            {
              ++index;
              MT576.SequenceBClass.SequenceB2Class.SequenceB2aClass sequenceB2aClass = new MT576.SequenceBClass.SequenceB2Class.SequenceB2aClass((SwiftElement) this, index, false);
              count = this.ListTags((SwiftElement) sequenceB2aClass).Count;
              if (count > 0)
                list.Add(sequenceB2aClass);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Price")]
        public MT576.SequenceBClass.SequenceB2Class.SequenceB2bClass[] SequenceB2b
        {
          get
          {
            int index = -1;
            List<MT576.SequenceBClass.SequenceB2Class.SequenceB2bClass> list = new List<MT576.SequenceBClass.SequenceB2Class.SequenceB2bClass>();
            int count;
            do
            {
              ++index;
              MT576.SequenceBClass.SequenceB2Class.SequenceB2bClass sequenceB2bClass = new MT576.SequenceBClass.SequenceB2Class.SequenceB2bClass((SwiftElement) this, index, false);
              count = this.ListTags((SwiftElement) sequenceB2bClass).Count;
              if (count > 0)
                list.Add(sequenceB2bClass);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Indicator")]
        public MT576.SequenceBClass.SequenceB2Class.Tag22H[] Indicator_B2_22H
        {
          get
          {
            int index = -1;
            List<MT576.SequenceBClass.SequenceB2Class.Tag22H> list = new List<MT576.SequenceBClass.SequenceB2Class.Tag22H>();
            int count;
            do
            {
              ++index;
              MT576.SequenceBClass.SequenceB2Class.Tag22H tag22H = new MT576.SequenceBClass.SequenceB2Class.Tag22H((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U008BU0004);
              count = this.ListTags((SwiftElement) tag22H).Count;
              if (count > 0)
                list.Add(tag22H);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Indicator")]
        public MT576.SequenceBClass.SequenceB2Class.Tag22H[] Tag22H_Indicator_B2
        {
          get
          {
            return this.Indicator_B2_22H;
          }
        }

        [Description("Indicator")]
        public Tag22F[] Indicator_B2_22F
        {
          get
          {
            int index = -1;
            List<Tag22F> list = new List<Tag22F>();
            int count;
            do
            {
              ++index;
              Tag22F tag22F = new Tag22F((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U008EU0004);
              count = this.ListTags((SwiftElement) tag22F).Count;
              if (count > 0)
                list.Add(tag22F);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Indicator")]
        public Tag22F[] Tag22F_Indicator_B2
        {
          get
          {
            return this.Indicator_B2_22F;
          }
        }

        [Description("Date/Time")]
        public Tag98A[] Date_2_B2_98A
        {
          get
          {
            int index = -1;
            List<Tag98A> list = new List<Tag98A>();
            int count;
            do
            {
              ++index;
              Tag98A tag98A = new Tag98A((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U0093U0004);
              count = this.ListTags((SwiftElement) tag98A).Count;
              if (count > 0)
                list.Add(tag98A);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Date/Time")]
        public Tag98A[] Tag98A_Date_2_B2
        {
          get
          {
            return this.Date_2_B2_98A;
          }
        }

        [Description("Date/Time")]
        public Tag98C[] DateTime_2_B2_98C
        {
          get
          {
            int index = -1;
            List<Tag98C> list = new List<Tag98C>();
            int count;
            do
            {
              ++index;
              Tag98C tag98C = new Tag98C((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U0096U0004);
              count = this.ListTags((SwiftElement) tag98C).Count;
              if (count > 0)
                list.Add(tag98C);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("Date/Time")]
        public Tag98C[] Tag98C_DateTime_2_B2
        {
          get
          {
            return this.DateTime_2_B2_98C;
          }
        }

        [Description("Trading Parties")]
        public MT576.SequenceBClass.SequenceB2Class.SequenceB2cClass[] SequenceB2c
        {
          get
          {
            int index = -1;
            List<MT576.SequenceBClass.SequenceB2Class.SequenceB2cClass> list = new List<MT576.SequenceBClass.SequenceB2Class.SequenceB2cClass>();
            int count;
            do
            {
              ++index;
              MT576.SequenceBClass.SequenceB2Class.SequenceB2cClass sequenceB2cClass = new MT576.SequenceBClass.SequenceB2Class.SequenceB2cClass((SwiftElement) this, index, false);
              count = this.ListTags((SwiftElement) sequenceB2cClass).Count;
              if (count > 0)
                list.Add(sequenceB2cClass);
            }
            while (count > 0);
            return list.ToArray();
          }
        }

        [Description("End Of Block")]
        public Tag16S EndOfBlock_B2_16S
        {
          get
          {
            return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0097U0005);
          }
        }

        [Description("End Of Block")]
        public Tag16S Tag16S_EndOfBlock_B2
        {
          get
          {
            return this.EndOfBlock_B2_16S;
          }
        }

        internal SequenceB2Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }

        public Tag36B AddQuantityOfFinancialInstrument_B2_36B()
        {
          return new Tag36B((SwiftElement) this, this.QuantityOfFinancialInstrument_B2_36B.Length, (SwiftDefinitionElement) MT576.U0093U0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveQuantityOfFinancialInstrument_B2_36B(Tag36B tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag19A AddAmount_B2_19A()
        {
          return new Tag19A((SwiftElement) this, this.Amount_B2_19A.Length, (SwiftDefinitionElement) MT576.U0098U0003)
          {
            Value = string.Empty
          };
        }

        public void RemoveAmount_B2_19A(Tag19A tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public MT576.SequenceBClass.SequenceB2Class.SequenceB2aClass AddSequenceB2a()
        {
          return new MT576.SequenceBClass.SequenceB2Class.SequenceB2aClass((SwiftElement) this, this.SequenceB2a.Length, true);
        }

        public void RemoveSequenceB2a(MT576.SequenceBClass.SequenceB2Class.SequenceB2aClass sequence)
        {
          foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
            this.RemoveTag(tag);
        }

        public MT576.SequenceBClass.SequenceB2Class.SequenceB2bClass AddSequenceB2b()
        {
          return new MT576.SequenceBClass.SequenceB2Class.SequenceB2bClass((SwiftElement) this, this.SequenceB2b.Length, true);
        }

        public void RemoveSequenceB2b(MT576.SequenceBClass.SequenceB2Class.SequenceB2bClass sequence)
        {
          foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
            this.RemoveTag(tag);
        }

        public MT576.SequenceBClass.SequenceB2Class.Tag22H AddIndicator_B2_22H()
        {
          return new MT576.SequenceBClass.SequenceB2Class.Tag22H((SwiftElement) this, this.Indicator_B2_22H.Length, (SwiftDefinitionElement) MT576.U008BU0004)
          {
            Value = string.Empty
          };
        }

        public void RemoveIndicator_B2_22H(MT576.SequenceBClass.SequenceB2Class.Tag22H tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag22F AddIndicator_B2_22F()
        {
          return new Tag22F((SwiftElement) this, this.Indicator_B2_22F.Length, (SwiftDefinitionElement) MT576.U008EU0004)
          {
            Value = string.Empty
          };
        }

        public void RemoveIndicator_B2_22F(Tag22F tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag98A AddDate_2_B2_98A()
        {
          return new Tag98A((SwiftElement) this, this.Date_2_B2_98A.Length, (SwiftDefinitionElement) MT576.U0093U0004)
          {
            Value = string.Empty
          };
        }

        public void RemoveDate_2_B2_98A(Tag98A tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public Tag98C AddDateTime_2_B2_98C()
        {
          return new Tag98C((SwiftElement) this, this.DateTime_2_B2_98C.Length, (SwiftDefinitionElement) MT576.U0096U0004)
          {
            Value = string.Empty
          };
        }

        public void RemoveDateTime_2_B2_98C(Tag98C tag)
        {
          this.RemoveTag(tag.GetTag());
        }

        public MT576.SequenceBClass.SequenceB2Class.SequenceB2cClass AddSequenceB2c()
        {
          return new MT576.SequenceBClass.SequenceB2Class.SequenceB2cClass((SwiftElement) this, this.SequenceB2c.Length, true);
        }

        public void RemoveSequenceB2c(MT576.SequenceBClass.SequenceB2Class.SequenceB2cClass sequence)
        {
          foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
            this.RemoveTag(tag);
        }

        public class SequenceB2aClass : SwiftTagSequence
        {
          internal override SwiftDefinitionElement Definition
          {
            get
            {
              return (SwiftDefinitionElement) MT576.U009EU0003;
            }
          }

          [Description("Start Of Block")]
          public Tag16R StartOfBlock_B2a_16R
          {
            get
            {
              return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U009FU0003);
            }
          }

          [Description("Start Of Block")]
          public Tag16R Tag16R_StartOfBlock_B2a
          {
            get
            {
              return this.StartOfBlock_B2a_16R;
            }
          }

          [Description("Linked Message")]
          public Tag13A NumberIdentification_B2a_13A
          {
            get
            {
              return new Tag13A((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0003U0004);
            }
          }

          [Description("Linked Message")]
          public Tag13A Tag13A_NumberIdentification_B2a
          {
            get
            {
              return this.NumberIdentification_B2a_13A;
            }
          }

          [Description("Linked Message")]
          public Tag13B NumberIdentification_B2a_13B
          {
            get
            {
              return new Tag13B((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0006U0004);
            }
          }

          [Description("Linked Message")]
          public Tag13B Tag13B_NumberIdentification_B2a
          {
            get
            {
              return this.NumberIdentification_B2a_13B;
            }
          }

          [Description("Reference")]
          public Tag20C Reference_B2a_20C
          {
            get
            {
              return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U000FU0004);
            }
          }

          [Description("Reference")]
          public Tag20C Tag20C_Reference_B2a
          {
            get
            {
              return this.Reference_B2a_20C;
            }
          }

          [Description("End Of Block")]
          public Tag16S EndOfBlock_B2a_16S
          {
            get
            {
              return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0012U0004);
            }
          }

          [Description("End Of Block")]
          public Tag16S Tag16S_EndOfBlock_B2a
          {
            get
            {
              return this.EndOfBlock_B2a_16S;
            }
          }

          internal SequenceB2aClass(SwiftElement parent, int index, bool createTags)
            : base(parent, index, createTags)
          {
          }
        }

        public class SequenceB2bClass : SwiftTagSequence
        {
          internal override SwiftDefinitionElement Definition
          {
            get
            {
              return (SwiftDefinitionElement) MT576.U0014U0004;
            }
          }

          [Description("Start Of Block")]
          public Tag16R StartOfBlock_B2b_16R
          {
            get
            {
              return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0015U0004);
            }
          }

          [Description("Start Of Block")]
          public Tag16R Tag16R_StartOfBlock_B2b
          {
            get
            {
              return this.StartOfBlock_B2b_16R;
            }
          }

          [Description("Price")]
          public Tag90A Price_B2b_90A
          {
            get
            {
              return new Tag90A((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0018U0004);
            }
          }

          [Description("Price")]
          public Tag90A Tag90A_Price_B2b
          {
            get
            {
              return this.Price_B2b_90A;
            }
          }

          [Description("Price")]
          public Tag90B Price_B2b_90B
          {
            get
            {
              return new Tag90B((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U001DU0004);
            }
          }

          [Description("Price")]
          public Tag90B Tag90B_Price_B2b
          {
            get
            {
              return this.Price_B2b_90B;
            }
          }

          [Description("Type of Price")]
          public Tag22F Indicator_B2b_22F
          {
            get
            {
              return new Tag22F((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0083U0004);
            }
          }

          [Description("Type of Price")]
          public Tag22F Tag22F_Indicator_B2b
          {
            get
            {
              return this.Indicator_B2b_22F;
            }
          }

          [Description("End Of Block")]
          public Tag16S EndOfBlock_B2b_16S
          {
            get
            {
              return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0088U0004);
            }
          }

          [Description("End Of Block")]
          public Tag16S Tag16S_EndOfBlock_B2b
          {
            get
            {
              return this.EndOfBlock_B2b_16S;
            }
          }

          internal SequenceB2bClass(SwiftElement parent, int index, bool createTags)
            : base(parent, index, createTags)
          {
          }
        }

        public class Tag22H : SwiftTagWrapper
        {
          public string Value
          {
            get
            {
              return this.GetValue();
            }
            set
            {
              this.SetValue("22H", value);
            }
          }

          internal Tag22H(SwiftElement parent, int index, SwiftDefinitionElement definition)
            : base(parent, index, definition)
          {
          }
        }

        public class SequenceB2cClass : SwiftTagSequence
        {
          internal override SwiftDefinitionElement Definition
          {
            get
            {
              return (SwiftDefinitionElement) MT576.U009BU0004;
            }
          }

          [Description("Start Of Block")]
          public Tag16R StartOfBlock_B2c_16R
          {
            get
            {
              return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U009CU0004);
            }
          }

          [Description("Start Of Block")]
          public Tag16R Tag16R_StartOfBlock_B2c
          {
            get
            {
              return this.StartOfBlock_B2c_16R;
            }
          }

          [Description("Party")]
          public Tag95P[] Party_B2c_95P
          {
            get
            {
              int index = -1;
              List<Tag95P> list = new List<Tag95P>();
              int count;
              do
              {
                ++index;
                Tag95P tag95P = new Tag95P((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U009FU0004);
                count = this.ListTags((SwiftElement) tag95P).Count;
                if (count > 0)
                  list.Add(tag95P);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Party")]
          public Tag95P[] Tag95P_Party_B2c
          {
            get
            {
              return this.Party_B2c_95P;
            }
          }

          [Description("Party")]
          public Tag95R[] Party_B2c_95R
          {
            get
            {
              int index = -1;
              List<Tag95R> list = new List<Tag95R>();
              int count;
              do
              {
                ++index;
                Tag95R tag95R = new Tag95R((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U0003U0005);
                count = this.ListTags((SwiftElement) tag95R).Count;
                if (count > 0)
                  list.Add(tag95R);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Party")]
          public Tag95R[] Tag95R_Party_B2c
          {
            get
            {
              return this.Party_B2c_95R;
            }
          }

          [Description("Party")]
          public Tag95Q[] Party_B2c_95Q
          {
            get
            {
              int index = -1;
              List<Tag95Q> list = new List<Tag95Q>();
              int count;
              do
              {
                ++index;
                Tag95Q tag95Q = new Tag95Q((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U0007U0005);
                count = this.ListTags((SwiftElement) tag95Q).Count;
                if (count > 0)
                  list.Add(tag95Q);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Party")]
          public Tag95Q[] Tag95Q_Party_B2c
          {
            get
            {
              return this.Party_B2c_95Q;
            }
          }

          [Description("Party")]
          public MT576.SequenceBClass.SequenceB2Class.SequenceB2cClass.Tag95S[] Party_B2c_95S
          {
            get
            {
              int index = -1;
              List<MT576.SequenceBClass.SequenceB2Class.SequenceB2cClass.Tag95S> list = new List<MT576.SequenceBClass.SequenceB2Class.SequenceB2cClass.Tag95S>();
              int count;
              do
              {
                ++index;
                MT576.SequenceBClass.SequenceB2Class.SequenceB2cClass.Tag95S tag95S = new MT576.SequenceBClass.SequenceB2Class.SequenceB2cClass.Tag95S((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U000FU0005);
                count = this.ListTags((SwiftElement) tag95S).Count;
                if (count > 0)
                  list.Add(tag95S);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Party")]
          public MT576.SequenceBClass.SequenceB2Class.SequenceB2cClass.Tag95S[] Tag95S_Party_B2c
          {
            get
            {
              return this.Party_B2c_95S;
            }
          }

          [Description("Safekeeping Account")]
          public Tag97A Account_B2c_97A
          {
            get
            {
              return new Tag97A((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0016U0005);
            }
          }

          [Description("Safekeeping Account")]
          public Tag97A Tag97A_Account_B2c
          {
            get
            {
              return this.Account_B2c_97A;
            }
          }

          [Description("Safekeeping Account")]
          public Tag97B Account_B2c_97B
          {
            get
            {
              return new Tag97B((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0019U0005);
            }
          }

          [Description("Safekeeping Account")]
          public Tag97B Tag97B_Account_B2c
          {
            get
            {
              return this.Account_B2c_97B;
            }
          }

          [Description("Processing Date Time")]
          public Tag98A Date_B2c_98A
          {
            get
            {
              return new Tag98A((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U001FU0005);
            }
          }

          [Description("Processing Date Time")]
          public Tag98A Tag98A_Date_B2c
          {
            get
            {
              return this.Date_B2c_98A;
            }
          }

          [Description("Processing Date Time")]
          public Tag98C DateTime_B2c_98C
          {
            get
            {
              return new Tag98C((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0081U0005);
            }
          }

          [Description("Processing Date Time")]
          public Tag98C Tag98C_DateTime_B2c
          {
            get
            {
              return this.DateTime_B2c_98C;
            }
          }

          [Description("Processing Reference")]
          public Tag20C Reference_B2c_20C
          {
            get
            {
              return new Tag20C((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0087U0005);
            }
          }

          [Description("Processing Reference")]
          public Tag20C Tag20C_Reference_B2c
          {
            get
            {
              return this.Reference_B2c_20C;
            }
          }

          [Description("Party Contact Narrative")]
          public Tag70C[] Narrative_B2c_70C
          {
            get
            {
              int index = -1;
              List<Tag70C> list = new List<Tag70C>();
              int count;
              do
              {
                ++index;
                Tag70C tag70C = new Tag70C((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U008BU0005);
                count = this.ListTags((SwiftElement) tag70C).Count;
                if (count > 0)
                  list.Add(tag70C);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Party Contact Narrative")]
          public Tag70C[] Tag70C_Narrative_B2c
          {
            get
            {
              return this.Narrative_B2c_70C;
            }
          }

          [Description("Declaration Details Narrative")]
          public Tag70E[] Narrative_B2c_70E
          {
            get
            {
              int index = -1;
              List<Tag70E> list = new List<Tag70E>();
              int count;
              do
              {
                ++index;
                Tag70E tag70E = new Tag70E((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U008EU0005);
                count = this.ListTags((SwiftElement) tag70E).Count;
                if (count > 0)
                  list.Add(tag70E);
              }
              while (count > 0);
              return list.ToArray();
            }
          }

          [Description("Declaration Details Narrative")]
          public Tag70E[] Tag70E_Narrative_B2c
          {
            get
            {
              return this.Narrative_B2c_70E;
            }
          }

          [Description("Party Capacity Indicator")]
          public Tag22F Indicator_B2c_22F
          {
            get
            {
              return new Tag22F((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0091U0005);
            }
          }

          [Description("Party Capacity Indicator")]
          public Tag22F Tag22F_Indicator_B2c
          {
            get
            {
              return this.Indicator_B2c_22F;
            }
          }

          [Description("End Of Block")]
          public Tag16S EndOfBlock_B2c_16S
          {
            get
            {
              return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U0095U0005);
            }
          }

          [Description("End Of Block")]
          public Tag16S Tag16S_EndOfBlock_B2c
          {
            get
            {
              return this.EndOfBlock_B2c_16S;
            }
          }

          internal SequenceB2cClass(SwiftElement parent, int index, bool createTags)
            : base(parent, index, createTags)
          {
          }

          public Tag95P AddParty_B2c_95P()
          {
            return new Tag95P((SwiftElement) this, this.Party_B2c_95P.Length, (SwiftDefinitionElement) MT576.U009FU0004)
            {
              Value = string.Empty
            };
          }

          public void RemoveParty_B2c_95P(Tag95P tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public Tag95R AddParty_B2c_95R()
          {
            return new Tag95R((SwiftElement) this, this.Party_B2c_95R.Length, (SwiftDefinitionElement) MT576.U0003U0005)
            {
              Value = string.Empty
            };
          }

          public void RemoveParty_B2c_95R(Tag95R tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public Tag95Q AddParty_B2c_95Q()
          {
            return new Tag95Q((SwiftElement) this, this.Party_B2c_95Q.Length, (SwiftDefinitionElement) MT576.U0007U0005)
            {
              Value = string.Empty
            };
          }

          public void RemoveParty_B2c_95Q(Tag95Q tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public MT576.SequenceBClass.SequenceB2Class.SequenceB2cClass.Tag95S AddParty_B2c_95S()
          {
            return new MT576.SequenceBClass.SequenceB2Class.SequenceB2cClass.Tag95S((SwiftElement) this, this.Party_B2c_95S.Length, (SwiftDefinitionElement) MT576.U000FU0005)
            {
              Value = string.Empty
            };
          }

          public void RemoveParty_B2c_95S(MT576.SequenceBClass.SequenceB2Class.SequenceB2cClass.Tag95S tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public Tag70C AddNarrative_B2c_70C()
          {
            return new Tag70C((SwiftElement) this, this.Narrative_B2c_70C.Length, (SwiftDefinitionElement) MT576.U008BU0005)
            {
              Value = string.Empty
            };
          }

          public void RemoveNarrative_B2c_70C(Tag70C tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public Tag70E AddNarrative_B2c_70E()
          {
            return new Tag70E((SwiftElement) this, this.Narrative_B2c_70E.Length, (SwiftDefinitionElement) MT576.U008EU0005)
            {
              Value = string.Empty
            };
          }

          public void RemoveNarrative_B2c_70E(Tag70E tag)
          {
            this.RemoveTag(tag.GetTag());
          }

          public class Tag95S : SwiftTagWrapper
          {
            public string Value
            {
              get
              {
                return this.GetValue();
              }
              set
              {
                this.SetValue("95S", value);
              }
            }

            internal Tag95S(SwiftElement parent, int index, SwiftDefinitionElement definition)
              : base(parent, index, definition)
            {
            }
          }
        }
      }
    }

    public class SequenceCClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT576.U009BU0005;
        }
      }

      [Description("Start of Block")]
      public Tag16R StartOfBlock_C_16R
      {
        get
        {
          return new Tag16R((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U009CU0005);
        }
      }

      [Description("Start of Block")]
      public Tag16R Tag16R_StartOfBlock_C
      {
        get
        {
          return this.StartOfBlock_C_16R;
        }
      }

      [Description("Party")]
      public Tag95P[] Party_C_95P
      {
        get
        {
          int index = -1;
          List<Tag95P> list = new List<Tag95P>();
          int count;
          do
          {
            ++index;
            Tag95P tag95P = new Tag95P((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U009FU0005);
            count = this.ListTags((SwiftElement) tag95P).Count;
            if (count > 0)
              list.Add(tag95P);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95P[] Tag95P_Party_C
      {
        get
        {
          return this.Party_C_95P;
        }
      }

      [Description("Party")]
      public Tag95R[] Party_C_95R
      {
        get
        {
          int index = -1;
          List<Tag95R> list = new List<Tag95R>();
          int count;
          do
          {
            ++index;
            Tag95R tag95R = new Tag95R((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U0003U0006);
            count = this.ListTags((SwiftElement) tag95R).Count;
            if (count > 0)
              list.Add(tag95R);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95R[] Tag95R_Party_C
      {
        get
        {
          return this.Party_C_95R;
        }
      }

      [Description("Party")]
      public Tag95Q[] Party_C_95Q
      {
        get
        {
          int index = -1;
          List<Tag95Q> list = new List<Tag95Q>();
          int count;
          do
          {
            ++index;
            Tag95Q tag95Q = new Tag95Q((SwiftElement) this, index, (SwiftDefinitionElement) MT576.U0007U0006);
            count = this.ListTags((SwiftElement) tag95Q).Count;
            if (count > 0)
              list.Add(tag95Q);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Party")]
      public Tag95Q[] Tag95Q_Party_C
      {
        get
        {
          return this.Party_C_95Q;
        }
      }

      [Description("End of Block")]
      public Tag16S EndOfBlock_C_16S
      {
        get
        {
          return new Tag16S((SwiftElement) this, 0, (SwiftDefinitionElement) MT576.U000FU0006);
        }
      }

      [Description("End of Block")]
      public Tag16S Tag16S_EndOfBlock_C
      {
        get
        {
          return this.EndOfBlock_C_16S;
        }
      }

      internal SequenceCClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public Tag95P AddParty_C_95P()
      {
        return new Tag95P((SwiftElement) this, this.Party_C_95P.Length, (SwiftDefinitionElement) MT576.U009FU0005)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_C_95P(Tag95P tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag95R AddParty_C_95R()
      {
        return new Tag95R((SwiftElement) this, this.Party_C_95R.Length, (SwiftDefinitionElement) MT576.U0003U0006)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_C_95R(Tag95R tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public Tag95Q AddParty_C_95Q()
      {
        return new Tag95Q((SwiftElement) this, this.Party_C_95Q.Length, (SwiftDefinitionElement) MT576.U0007U0006)
        {
          Value = string.Empty
        };
      }

      public void RemoveParty_C_95Q(Tag95Q tag)
      {
        this.RemoveTag(tag.GetTag());
      }
    }
  }
}
